Enum cacao::layout::LayoutConstraintOrientation
source · [−]pub enum LayoutConstraintOrientation {
Horizontal,
Vertical,
Unknown(NSInteger),
}
Expand description
Represents whether a layout is vertical or horizontal.
Variants
Horizontal
Horizontal orientation.
Vertical
Vertical orientation.
Unknown(NSInteger)
Represents an unknown value. This should never be constructed, but acts as a guard against a change in representation on the framework side. If a new value was ever introduced, it’s caught here, and applications can handle it themselves if need be.
Trait Implementations
sourceimpl Debug for LayoutConstraintOrientation
impl Debug for LayoutConstraintOrientation
Auto Trait Implementations
impl RefUnwindSafe for LayoutConstraintOrientation
impl Send for LayoutConstraintOrientation
impl Sync for LayoutConstraintOrientation
impl Unpin for LayoutConstraintOrientation
impl UnwindSafe for LayoutConstraintOrientation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more