pub enum JustifyContent {
Start,
End,
Center,
Stretch,
SpaceBetween,
SpaceAround,
SpaceEvenly,
}Expand description
Main-axis distribution of items.
Variants§
Implementations§
Source§impl JustifyContent
impl JustifyContent
pub const START: Self = Self::Start
pub const END: Self = Self::End
pub const CENTER: Self = Self::Center
pub const STRETCH: Self = Self::Stretch
pub const SPACE_BETWEEN: Self = Self::SpaceBetween
pub const SPACE_AROUND: Self = Self::SpaceAround
pub const SPACE_EVENLY: Self = Self::SpaceEvenly
Trait Implementations§
Source§impl Clone for JustifyContent
impl Clone for JustifyContent
impl Copy for JustifyContent
Source§impl Debug for JustifyContent
impl Debug for JustifyContent
impl Eq for JustifyContent
Source§impl PartialEq for JustifyContent
impl PartialEq for JustifyContent
impl StructuralPartialEq for JustifyContent
Auto Trait Implementations§
impl Forget for JustifyContent
impl Freeze for JustifyContent
impl Move for JustifyContent
impl RefUnwindSafe for JustifyContent
impl Send for JustifyContent
impl Sync for JustifyContent
impl Unpin for JustifyContent
impl UnsafeUnpin for JustifyContent
impl UnwindSafe for JustifyContent
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