pub enum WrapCrossAlignment {
Start,
End,
Center,
}Expand description
Who RenderWrap should align children within a run in the cross axis.
Variants§
Start
Place the children as close to the start of the run in the cross axis as possible.
If this value is used in a horizontal direction, a TextDirection must be available
to determine if the start is the left or the right.
If this value is used in a vertical direction, a VerticalDirection must be available
to determine if the start is the top or the bottom.
End
Place the children as close to the end of the run in the cross axis as possible.
If this value is used in a horizontal direction, a TextDirection must be available
to determine if the end is the left or the right.
If this value is used in a vertical direction, a VerticalDirection must be available
to determine if the end is the top or the bottom.
Center
Place the children as close to the middle of the run in the cross axis as possible.
Trait Implementations§
Source§impl Clone for WrapCrossAlignment
impl Clone for WrapCrossAlignment
impl Copy for WrapCrossAlignment
Source§impl Debug for WrapCrossAlignment
impl Debug for WrapCrossAlignment
Source§impl Default for WrapCrossAlignment
impl Default for WrapCrossAlignment
impl Eq for WrapCrossAlignment
Source§impl Hash for WrapCrossAlignment
impl Hash for WrapCrossAlignment
Source§impl PartialEq for WrapCrossAlignment
impl PartialEq for WrapCrossAlignment
impl StructuralPartialEq for WrapCrossAlignment
Auto Trait Implementations§
impl Freeze for WrapCrossAlignment
impl RefUnwindSafe for WrapCrossAlignment
impl Send for WrapCrossAlignment
impl Sync for WrapCrossAlignment
impl Unpin for WrapCrossAlignment
impl UnsafeUnpin for WrapCrossAlignment
impl UnwindSafe for WrapCrossAlignment
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
key and return true if they are equal.