pub enum Align {
Start,
Center,
End,
Stretch,
}Expand description
Variants§
Start
At the start: the top of a row, the left of a column.
Center
In the middle.
End
At the end: the bottom of a row, the right of a column.
Stretch
Stretched to fill. The default, as in CSS.
Trait Implementations§
impl Copy for Align
impl Eq for Align
impl StructuralPartialEq for Align
Auto Trait Implementations§
impl Forget for Align
impl Freeze for Align
impl Move for Align
impl RefUnwindSafe for Align
impl Send for Align
impl Sync for Align
impl Unpin for Align
impl UnsafeUnpin for Align
impl UnwindSafe for Align
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