pub struct DpSize {
pub width: Dp,
pub height: Dp,
}Expand description
Dp-space size (Compose DpSize).
Fields§
§width: Dp§height: DpImplementations§
Trait Implementations§
impl Copy for DpSize
impl StructuralPartialEq for DpSize
Auto Trait Implementations§
impl Freeze for DpSize
impl RefUnwindSafe for DpSize
impl Send for DpSize
impl Sync for DpSize
impl Unpin for DpSize
impl UnsafeUnpin for DpSize
impl UnwindSafe for DpSize
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