pub struct OnConsoleCommandEvent {
pub command: &'static str,
pub name: &'static str,
pub parameters: &'static str,
pub player_index: u32,
pub tick: u32,
}Expand description
Called when someone enters a command-like message regardless of it being a valid command.
Fields§
§command: &'static str§name: &'static str§parameters: &'static str§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnConsoleCommandEvent
impl Clone for OnConsoleCommandEvent
Source§fn clone(&self) -> OnConsoleCommandEvent
fn clone(&self) -> OnConsoleCommandEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnConsoleCommandEvent
Source§impl Debug for OnConsoleCommandEvent
impl Debug for OnConsoleCommandEvent
Source§impl Default for OnConsoleCommandEvent
impl Default for OnConsoleCommandEvent
Source§fn default() -> OnConsoleCommandEvent
fn default() -> OnConsoleCommandEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnConsoleCommandEvent
impl PartialEq for OnConsoleCommandEvent
impl StructuralPartialEq for OnConsoleCommandEvent
Auto Trait Implementations§
impl Freeze for OnConsoleCommandEvent
impl RefUnwindSafe for OnConsoleCommandEvent
impl Send for OnConsoleCommandEvent
impl Sync for OnConsoleCommandEvent
impl Unpin for OnConsoleCommandEvent
impl UnsafeUnpin for OnConsoleCommandEvent
impl UnwindSafe for OnConsoleCommandEvent
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