pub struct Dimension<'s> {
pub value: Number<'s>,
pub unit: Ident<'s>,
}Fields§
§value: Number<'s>§unit: Ident<'s>Trait Implementations§
Source§impl<'s> PartialEq for Dimension<'s>
impl<'s> PartialEq for Dimension<'s>
impl<'s> StructuralPartialEq for Dimension<'s>
Auto Trait Implementations§
impl<'s> Freeze for Dimension<'s>
impl<'s> RefUnwindSafe for Dimension<'s>
impl<'s> Send for Dimension<'s>
impl<'s> Sync for Dimension<'s>
impl<'s> Unpin for Dimension<'s>
impl<'s> UnsafeUnpin for Dimension<'s>
impl<'s> UnwindSafe for Dimension<'s>
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