pub enum Justification {
Start,
Center,
End,
SpaceBetween,
SpaceAround,
SpaceEvenly,
}
Expand description
Layout justification
Variants§
Start
Justify items at the start
Center
Justify items at the center
End
Justify items at the end
SpaceBetween
Space between items
SpaceAround
Space around items
SpaceEvenly
Space evenly between items
Trait Implementations§
Source§impl Clone for Justification
impl Clone for Justification
Source§fn clone(&self) -> Justification
fn clone(&self) -> Justification
Returns a copy 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 Default for Justification
impl Default for Justification
Source§fn default() -> Justification
fn default() -> Justification
Returns the “default value” for a type. Read more
Source§impl PartialEq for Justification
impl PartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting