pub enum Align {
Stretch,
FlexStart,
Center,
FlexEnd,
Baseline,
}Expand description
alignItems / alignSelf (styles.ts:552–593).
Used for both align_items (Option<AlignItems> in taffy) and
align_self (Option<AlignSelf> in taffy). Taffy has no explicit
Auto variant for AlignSelf; None in the Option encodes auto.
Variants§
Trait Implementations§
impl Copy for Align
impl Eq for Align
impl StructuralPartialEq for Align
Auto Trait Implementations§
impl Freeze 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