pub enum Justification {
Start,
Center,
End,
SpaceBetween,
SpaceAround,
SpaceEvenly,
}Expand description
Widget justification on main-axis
Variants§
Start
Pack at start
Center
Pack at center
End
Pack at end
SpaceBetween
First at start, last at end, evenly spaced
SpaceAround
Equal space around each item
SpaceEvenly
Equal space between items
Implementations§
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 · 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<'de> Deserialize<'de> for Justification
impl<'de> Deserialize<'de> for Justification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Justification
impl PartialEq for Justification
Source§impl Serialize for Justification
impl Serialize 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 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