pub enum Alignment {
Start,
Center,
End,
}
Expand description
Alignment on the axis of a container.
Variants§
Start
Align at the start of the axis.
Center
Align at the center of the axis.
End
Align at the end of the axis.
Trait Implementations§
Source§impl From<Alignment> for Horizontal
impl From<Alignment> for Horizontal
Source§impl From<Horizontal> for Alignment
impl From<Horizontal> for Alignment
Source§fn from(horizontal: Horizontal) -> Self
fn from(horizontal: Horizontal) -> Self
Converts to this type from the input type.
impl Copy for Alignment
impl Eq for Alignment
impl StructuralPartialEq for Alignment
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnwindSafe for Alignment
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