pub struct Dp(pub f32);Expand description
Re-export the UI crate so applications can depend on a single crate. Density-independent pixels
Tuple Fields§
§0: f32Implementations§
Trait Implementations§
impl Copy for Dp
Source§impl PartialOrd for Dp
impl PartialOrd for Dp
impl StructuralPartialEq for Dp
Auto Trait Implementations§
impl Freeze for Dp
impl RefUnwindSafe for Dp
impl Send for Dp
impl Sync for Dp
impl Unpin for Dp
impl UnsafeUnpin for Dp
impl UnwindSafe for Dp
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