Struct RegisterClientCommandsEvent
pub struct RegisterClientCommandsEvent<'a> {
pub commands: &'a mut Vec<Command>,
}Expand description
What Hooks::register_client_commands is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§commands: &'a mut Vec<Command>Auto Trait Implementations§
impl<'a> !UnwindSafe for RegisterClientCommandsEvent<'a>
impl<'a> Freeze for RegisterClientCommandsEvent<'a>
impl<'a> RefUnwindSafe for RegisterClientCommandsEvent<'a>
impl<'a> Send for RegisterClientCommandsEvent<'a>
impl<'a> Sync for RegisterClientCommandsEvent<'a>
impl<'a> Unpin for RegisterClientCommandsEvent<'a>
impl<'a> UnsafeUnpin for RegisterClientCommandsEvent<'a>
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