pub enum WidthConstraint {
Auto,
Fixed(usize),
Min(usize),
Max(usize),
Proportional(u8),
Wrap(usize),
}Variants§
Trait Implementations§
Source§impl Clone for WidthConstraint
impl Clone for WidthConstraint
Source§fn clone(&self) -> WidthConstraint
fn clone(&self) -> WidthConstraint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WidthConstraint
impl Debug for WidthConstraint
Source§impl PartialEq for WidthConstraint
impl PartialEq for WidthConstraint
impl Eq for WidthConstraint
impl StructuralPartialEq for WidthConstraint
Auto Trait Implementations§
impl Freeze for WidthConstraint
impl RefUnwindSafe for WidthConstraint
impl Send for WidthConstraint
impl Sync for WidthConstraint
impl Unpin for WidthConstraint
impl UnwindSafe for WidthConstraint
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