[][src]Enum coffee::ui::core::Justify

pub enum Justify {
    Start,
    Center,
    End,
    SpaceBetween,
    SpaceAround,
    SpaceEvenly,
}

Distribution on the main axis of a container.

  • On a Column, it describes vertical distribution.
  • On a Row, it describes horizontal distribution.

Variants

Start

Place items at the start of the main axis.

Center

Place items at the center of the main axis.

End

Place items at the end of the main axis.

SpaceBetween

Place items with space between.

SpaceAround

Place items with space around.

SpaceEvenly

Place items with evenly distributed space.

Trait Implementations

impl Clone for Justify[src]

impl Copy for Justify[src]

impl Debug for Justify[src]

impl Eq for Justify[src]

impl PartialEq<Justify> for Justify[src]

impl StructuralEq for Justify[src]

impl StructuralPartialEq for Justify[src]

Auto Trait Implementations

impl RefUnwindSafe for Justify

impl Send for Justify

impl Sync for Justify

impl Unpin for Justify

impl UnwindSafe for Justify

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,