#[repr(u32)]pub enum UiDir {
Horizontal = 0,
Vertical = 1,
}
Expand description
For UI elements that can be oriented horizontally or vertically, this specifies that orientation. https://stereokit.net/Pages/StereoKit/UIDir.html
Variants§
Horizontal = 0
The element should be layed out along the horizontal axis.
Vertical = 1
The element should be layed out along the vertical axis.
Trait Implementations§
impl Copy for UiDir
impl Eq for UiDir
impl StructuralPartialEq for UiDir
Auto Trait Implementations§
impl Freeze for UiDir
impl RefUnwindSafe for UiDir
impl Send for UiDir
impl Sync for UiDir
impl Unpin for UiDir
impl UnwindSafe for UiDir
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
Mutably borrows from an owned value. Read more