Enum HudMode
#[non_exhaustive]pub enum HudMode {
AllVisible,
NoHud,
AllHidden,
}Expand description
HUD and first-person hand visibility. Other hand-render restrictions still apply.
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.
AllVisible
Show both HUD and hands.
NoHud
Hide the HUD while allowing the first-person hands and held items.
AllHidden
Hide both HUD and hands.
Trait Implementations§
impl Copy for HudMode
impl Eq for HudMode
impl StructuralPartialEq for HudMode
Auto Trait Implementations§
impl Freeze for HudMode
impl RefUnwindSafe for HudMode
impl Send for HudMode
impl Sync for HudMode
impl Unpin for HudMode
impl UnsafeUnpin for HudMode
impl UnwindSafe for HudMode
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