pub enum ScreenDensity {
Current,
ScreenSDPI,
ScreenMDPI,
ScreenLDPI,
ScreenXLDPI,
ScreenXXLDPI,
ScreenXXXLDPI,
}Variants§
Trait Implementations§
Source§impl Debug for ScreenDensity
impl Debug for ScreenDensity
Source§impl Default for ScreenDensity
impl Default for ScreenDensity
Source§fn default() -> ScreenDensity
fn default() -> ScreenDensity
Returns the “default value” for a type. Read more
Source§impl From<ScreenDensity> for ScreenDensity
impl From<ScreenDensity> for ScreenDensity
Source§fn from(value: ScreenDensity) -> Self
fn from(value: ScreenDensity) -> Self
Converts to this type from the input type.
Source§impl Ord for ScreenDensity
impl Ord for ScreenDensity
Source§fn cmp(&self, other: &ScreenDensity) -> Ordering
fn cmp(&self, other: &ScreenDensity) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScreenDensity
impl PartialEq for ScreenDensity
Source§impl PartialOrd for ScreenDensity
impl PartialOrd for ScreenDensity
impl Eq for ScreenDensity
impl StructuralPartialEq for ScreenDensity
Auto Trait Implementations§
impl Freeze for ScreenDensity
impl RefUnwindSafe for ScreenDensity
impl Send for ScreenDensity
impl Sync for ScreenDensity
impl Unpin for ScreenDensity
impl UnsafeUnpin for ScreenDensity
impl UnwindSafe for ScreenDensity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more