Enum ux::BoxAlignment [−][src]
#[non_exhaustive] pub enum BoxAlignment { Start, End, Center, // some variants omitted }
The alignment policies available on each axis of the BoxLayout
Variants (Non-exhaustive)
Align the child to the top or to to the left, depending on the used axis
Align the child to the bottom or to the right, depending on the used axis
Align the child to the center
Trait Implementations
impl Clone for BoxAlignment
[src][+]
impl Copy for BoxAlignment
[src]
impl Debug for BoxAlignment
[src][+]
impl Display for BoxAlignment
[src][+]
impl Eq for BoxAlignment
[src]
impl<'a> FromValue<'a> for BoxAlignment
[src][+]
impl<'a> FromValueOptional<'a> for BoxAlignment
[src][+]
impl Hash for BoxAlignment
[src][+]
impl Ord for BoxAlignment
[src][+]
impl PartialEq<BoxAlignment> for BoxAlignment
[src][+]
impl PartialOrd<BoxAlignment> for BoxAlignment
[src][+]
impl SetValue for BoxAlignment
[src][+]
impl StaticType for BoxAlignment
[src][+]
impl StructuralEq for BoxAlignment
[src]
impl StructuralPartialEq for BoxAlignment
[src]
Auto Trait Implementations
impl RefUnwindSafe for BoxAlignment
impl Send for BoxAlignment
impl Sync for BoxAlignment
impl Unpin for BoxAlignment
impl UnwindSafe for BoxAlignment
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src][+]
T: SetValue + Send + ToValue + ?Sized,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src][+]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,