pub struct OnConsoleChat;Expand description
Called when a message is sent to the in-game console, either by a player or through the server interface.
This event only fires for plain messages, not for any commands (including /shout or /whisper).
Implementations§
Trait Implementations§
Source§impl Clone for OnConsoleChat
impl Clone for OnConsoleChat
Source§fn clone(&self) -> OnConsoleChat
fn clone(&self) -> OnConsoleChat
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 OnConsoleChat
Source§impl Debug for OnConsoleChat
impl Debug for OnConsoleChat
impl Eq for OnConsoleChat
Source§impl PartialEq for OnConsoleChat
impl PartialEq for OnConsoleChat
impl StructuralPartialEq for OnConsoleChat
Auto Trait Implementations§
impl Freeze for OnConsoleChat
impl RefUnwindSafe for OnConsoleChat
impl Send for OnConsoleChat
impl Sync for OnConsoleChat
impl Unpin for OnConsoleChat
impl UnsafeUnpin for OnConsoleChat
impl UnwindSafe for OnConsoleChat
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