pub enum Justification {
Start,
Center,
End,
SpaceBetween,
SpaceAround,
SpaceEvenly,
}Expand description
Main-axis distribution.
Variants§
Trait Implementations§
Source§impl Clone for Justification
impl Clone for Justification
Source§fn clone(&self) -> Justification
fn clone(&self) -> Justification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Justification
impl Debug for Justification
Source§impl Hash for Justification
impl Hash for Justification
Source§impl Ord for Justification
impl Ord for Justification
Source§fn cmp(&self, other: &Justification) -> Ordering
fn cmp(&self, other: &Justification) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Justification
impl PartialEq for Justification
Source§fn eq(&self, other: &Justification) -> bool
fn eq(&self, other: &Justification) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Justification
impl PartialOrd for Justification
impl Copy for Justification
impl Eq for Justification
impl StructuralPartialEq for Justification
Auto Trait Implementations§
impl Freeze for Justification
impl RefUnwindSafe for Justification
impl Send for Justification
impl Sync for Justification
impl Unpin for Justification
impl UnsafeUnpin for Justification
impl UnwindSafe for Justification
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