Enum PixelDensityUnit
enum PixelDensityUnit
Represents a unit in which the density of an image is measured
Variants
-
PixelAspectRatio Represents the absence of a unit, the values indicate only a pixel aspect ratio
-
Inches Pixels per inch (2.54 cm)
-
Centimeters Pixels per centimeter
Implementations
impl Clone for PixelDensityUnit
fn clone(self: &Self) -> PixelDensityUnit
impl Copy for PixelDensityUnit
impl Debug for PixelDensityUnit
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Eq for PixelDensityUnit
impl Freeze for PixelDensityUnit
impl PartialEq for PixelDensityUnit
fn eq(self: &Self, other: &PixelDensityUnit) -> bool
impl RefUnwindSafe for PixelDensityUnit
impl Send for PixelDensityUnit
impl StructuralPartialEq for PixelDensityUnit
impl Sync for PixelDensityUnit
impl Unpin for PixelDensityUnit
impl UnsafeUnpin for PixelDensityUnit
impl UnwindSafe for PixelDensityUnit
impl<T> Any for PixelDensityUnit
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for PixelDensityUnit
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for PixelDensityUnit
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for PixelDensityUnit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for PixelDensityUnit
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Pointable for PixelDensityUnit
unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> ToOwned for PixelDensityUnit
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for PixelDensityUnit
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for PixelDensityUnit
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for PixelDensityUnit
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>