pub enum JustifyContent {
Start,
Center,
End,
SpaceBetween,
SpaceAround,
SpaceEvenly,
}Expand description
Where children lie along a container’s main axis, or a grid’s columns in it.
Variants§
Start
Packed at the start.
Center
Packed in the middle.
End
Packed at the end.
SpaceBetween
The first at the start, the last at the end, equal space between.
SpaceAround
Equal space around each.
SpaceEvenly
Equal space between each and at both ends.
Trait Implementations§
Source§impl Clone for JustifyContent
impl Clone for JustifyContent
impl Copy for JustifyContent
Source§impl Debug for JustifyContent
impl Debug for JustifyContent
Source§impl Default for JustifyContent
impl Default for JustifyContent
Source§impl<'de> Deserialize<'de> for JustifyContent
impl<'de> Deserialize<'de> for JustifyContent
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
impl Eq for JustifyContent
Source§impl Hash for JustifyContent
impl Hash for JustifyContent
Source§impl PartialEq for JustifyContent
impl PartialEq for JustifyContent
Source§impl Serialize for JustifyContent
impl Serialize for JustifyContent
impl StructuralPartialEq for JustifyContent
Auto Trait Implementations§
impl Freeze 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