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)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
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 Clone for BoxAlignment
[src]pub fn clone(&self) -> BoxAlignment
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BoxAlignment
[src]
impl Copy for BoxAlignment
[src]impl Display for BoxAlignment
[src]
impl Display for BoxAlignment
[src]impl Eq for BoxAlignment
[src]
impl Eq for BoxAlignment
[src]impl<'a> FromValue<'a> for BoxAlignment
[src]
impl<'a> FromValue<'a> for BoxAlignment
[src]pub unsafe fn from_value(value: &Value) -> BoxAlignment
[src]
impl<'a> FromValueOptional<'a> for BoxAlignment
[src]
impl<'a> FromValueOptional<'a> for BoxAlignment
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<BoxAlignment>
[src]
impl Hash for BoxAlignment
[src]
impl Hash for BoxAlignment
[src]impl Ord for BoxAlignment
[src]
impl Ord for BoxAlignment
[src]impl PartialEq<BoxAlignment> for BoxAlignment
[src]
impl PartialEq<BoxAlignment> for BoxAlignment
[src]pub fn eq(&self, other: &BoxAlignment) -> bool
[src]
pub fn ne(&self, other: &BoxAlignment) -> bool
[src]
impl PartialOrd<BoxAlignment> for BoxAlignment
[src]
impl PartialOrd<BoxAlignment> for BoxAlignment
[src]pub fn partial_cmp(&self, other: &BoxAlignment) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl SetValue for BoxAlignment
[src]
impl SetValue for BoxAlignment
[src]pub unsafe fn set_value(value: &mut Value, this: &BoxAlignment)
[src]
impl StaticType for BoxAlignment
[src]
impl StaticType for BoxAlignment
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for BoxAlignment
[src]
impl StructuralEq for BoxAlignment
[src]impl StructuralPartialEq for BoxAlignment
[src]
impl StructuralPartialEq for BoxAlignment
[src]Auto Trait Implementations
impl RefUnwindSafe for BoxAlignment
impl RefUnwindSafe for BoxAlignment
impl Send for BoxAlignment
impl Send for BoxAlignment
impl Sync for BoxAlignment
impl Sync for BoxAlignment
impl Unpin for BoxAlignment
impl Unpin for BoxAlignment
impl UnwindSafe for BoxAlignment
impl UnwindSafe for BoxAlignment
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,