#[non_exhaustive]
pub enum GuiLayer {
GuiLayerDesktop,
GuiLayerWindow,
GuiLayerStatusBarLeft,
GuiLayerStatusBarRight,
GuiLayerFullscreen,
GuiLayerMAX,
}
Expand description
Gui layers
Variants (Non-exhaustive)
This enum is marked as 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.
GuiLayerDesktop
< Desktop layer for internal use. Like fullscreen but with status bar
GuiLayerWindow
< Window layer, status bar is shown
GuiLayerStatusBarLeft
< Status bar left-side layer, auto-layout
GuiLayerStatusBarRight
< Status bar right-side layer, auto-layout
GuiLayerFullscreen
< Fullscreen layer, no status bar
GuiLayerMAX
< Don’t use or move, special value
Trait Implementations
impl Eq for GuiLayer
impl StructuralEq for GuiLayer
impl StructuralPartialEq for GuiLayer
Auto Trait Implementations
impl RefUnwindSafe for GuiLayer
impl Send for GuiLayer
impl Sync for GuiLayer
impl Unpin for GuiLayer
impl UnwindSafe for GuiLayer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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