#[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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.