pub struct LuaRCON;Expand description
An interface to send messages to the calling RCON interface through the global object named rcon.
Implementations§
Source§impl LuaRCON
impl LuaRCON
Sourcepub fn object_name(&self) -> &'static str
pub fn object_name(&self) -> &'static str
The class name of this object. Available even when valid is false. For LuaStruct objects it may also be suffixed with a dotted path to a member of the struct.
Sourcepub fn print(&self, message: impl Into<LocalisedString>)
pub fn print(&self, message: impl Into<LocalisedString>)
Print text to the calling RCON interface if any.
Trait Implementations§
impl Copy for LuaRCON
impl Eq for LuaRCON
impl LuaObject for LuaRCON
impl StructuralPartialEq for LuaRCON
Auto Trait Implementations§
impl Freeze for LuaRCON
impl RefUnwindSafe for LuaRCON
impl Send for LuaRCON
impl Sync for LuaRCON
impl Unpin for LuaRCON
impl UnsafeUnpin for LuaRCON
impl UnwindSafe for LuaRCON
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