Enum ux::Orientation [−][src]
#[non_exhaustive] pub enum Orientation { Horizontal, Vertical, // some variants omitted }
Represents the orientation of actors or layout managers.
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.
An horizontal orientation
A vertical orientation
Trait Implementations
impl Clone for Orientation
[src]
impl Clone for Orientation
[src]pub fn clone(&self) -> Orientation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Orientation
[src]
impl Copy for Orientation
[src]impl Eq for Orientation
[src]
impl Eq for Orientation
[src]impl<'a> FromValue<'a> for Orientation
[src]
impl<'a> FromValue<'a> for Orientation
[src]pub unsafe fn from_value(value: &Value) -> Orientation
[src]
impl<'a> FromValueOptional<'a> for Orientation
[src]
impl<'a> FromValueOptional<'a> for Orientation
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<Orientation>
[src]
impl Hash for Orientation
[src]
impl Hash for Orientation
[src]impl Ord for Orientation
[src]
impl Ord for Orientation
[src]impl PartialEq<Orientation> for Orientation
[src]
impl PartialEq<Orientation> for Orientation
[src]pub fn eq(&self, other: &Orientation) -> bool
[src]
pub fn ne(&self, other: &Orientation) -> bool
[src]
impl PartialOrd<Orientation> for Orientation
[src]
impl PartialOrd<Orientation> for Orientation
[src]pub fn partial_cmp(&self, other: &Orientation) -> 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 Orientation
[src]
impl SetValue for Orientation
[src]pub unsafe fn set_value(value: &mut Value, this: &Orientation)
[src]
impl StaticType for Orientation
[src]
impl StaticType for Orientation
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for Orientation
[src]
impl StructuralEq for Orientation
[src]impl StructuralPartialEq for Orientation
[src]
impl StructuralPartialEq for Orientation
[src]Auto Trait Implementations
impl RefUnwindSafe for Orientation
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl Unpin for Orientation
impl UnwindSafe for Orientation
impl UnwindSafe for Orientation
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>,