pub enum Sizing<T> {
Fit {
min: T,
max: T,
},
Fixed(T),
Percent(f32),
}Variants§
Implementations§
Trait Implementations§
impl<T: Copy> Copy for Sizing<T>
impl<T: PartialEq> StructuralPartialEq for Sizing<T>
Auto Trait Implementations§
impl<T> Forget for Sizing<T>
impl<T> Freeze for Sizing<T>where
T: Freeze,
impl<T> Move for Sizing<T>
impl<T> RefUnwindSafe for Sizing<T>where
T: RefUnwindSafe,
impl<T> Send for Sizing<T>where
T: Send,
impl<T> Sync for Sizing<T>where
T: Sync,
impl<T> Unpin for Sizing<T>where
T: Unpin,
impl<T> UnsafeUnpin for Sizing<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Sizing<T>where
T: UnwindSafe,
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