#[repr(u32)]pub enum UiWin {
Empty = 1,
Head = 2,
Body = 4,
Normal = 6,
}
Expand description
A description of what type of window to draw! This is a bit flag, so it can contain multiple elements. https://stereokit.net/Pages/StereoKit/UIWin.html
see Ui::window_begin
Variants§
Empty = 1
No body, no head. Not really a flag, just set to this value. The Window will still be grab/movable. To prevent it from being grabbable, combine with the UIMove.None option, or switch to Ui::(push/pop)_surface.
Head = 2
Flag to include a head on the window.
Body = 4
Flag to include a body on the window.
Normal = 6
A normal window has a head and a body to it. Both can be grabbed.
Trait Implementations§
impl Copy for UiWin
impl Eq for UiWin
impl StructuralPartialEq for UiWin
Auto Trait Implementations§
impl Freeze for UiWin
impl RefUnwindSafe for UiWin
impl Send for UiWin
impl Sync for UiWin
impl Unpin for UiWin
impl UnwindSafe for UiWin
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