pub enum Justify {
Left,
Center,
Right,
SpaceBetween,
}Expand description
Horizontal placement of a row’s labels within the container’s content width (the width of the widest row). Ignored when a row is as wide as the content.
Variants§
Left
Pack labels against the left edge (the default).
Center
Center the row within the content width.
Right
Pack labels against the right edge.
SpaceBetween
Spread the row across the full content width, distributing the slack
evenly between labels. A single-label row falls back to Left.
Trait Implementations§
impl Copy for Justify
Source§impl<'de> Deserialize<'de> for Justify
impl<'de> Deserialize<'de> for Justify
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 Justify
impl StructuralPartialEq for Justify
Auto Trait Implementations§
impl Freeze for Justify
impl RefUnwindSafe for Justify
impl Send for Justify
impl Sync for Justify
impl Unpin for Justify
impl UnsafeUnpin for Justify
impl UnwindSafe for Justify
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.