pub struct Group { /* private fields */ }
Expand description
A group of commands.
Called from Arma using [group]:[command]
.
Implementations§
source§impl Group
impl Group
sourcepub fn state<T>(self, state: T) -> Self
pub fn state<T>(self, state: T) -> Self
Add a new state value to the group if it has not be added already
sourcepub fn freeze_state(self) -> Self
pub fn freeze_state(self) -> Self
Freeze the group’s state, preventing the state from changing, allowing for faster reads
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Group
impl !RefUnwindSafe for Group
impl !Send for Group
impl !Sync for Group
impl Unpin for Group
impl !UnwindSafe for Group
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