pub enum Units {
Pixels(f32),
Percentage(f32),
Stretch(f32),
Auto,
}Expand description
Units which describe spacing and size
Variants§
Implementations§
Trait Implementations§
Source§impl Interpolator for Units
impl Interpolator for Units
impl Copy for Units
impl StructuralPartialEq for Units
Auto Trait Implementations§
impl Freeze for Units
impl RefUnwindSafe for Units
impl Send for Units
impl Sync for Units
impl Unpin for Units
impl UnwindSafe for Units
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