pub enum Gamemode {
Survival,
Creative,
Adventure,
Spectator,
}Expand description
Gamemode of a level.
Variants§
Trait Implementations§
impl StructuralPartialEq for Gamemode
Auto Trait Implementations§
impl Freeze for Gamemode
impl RefUnwindSafe for Gamemode
impl Send for Gamemode
impl Sync for Gamemode
impl Unpin for Gamemode
impl UnwindSafe for Gamemode
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