pub struct LuaSimulationWriteParams {
pub text: String,
}Expand description
Write text as if it was typed by a player. Overwrites existing text by selecting it first.
Fields§
§text: StringThe text to write. Does nothing if no text is provided.
Trait Implementations§
Source§impl Clone for LuaSimulationWriteParams
impl Clone for LuaSimulationWriteParams
Source§fn clone(&self) -> LuaSimulationWriteParams
fn clone(&self) -> LuaSimulationWriteParams
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 moreSource§impl Debug for LuaSimulationWriteParams
impl Debug for LuaSimulationWriteParams
Source§impl Default for LuaSimulationWriteParams
impl Default for LuaSimulationWriteParams
Source§fn default() -> LuaSimulationWriteParams
fn default() -> LuaSimulationWriteParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaSimulationWriteParams
impl RefUnwindSafe for LuaSimulationWriteParams
impl Send for LuaSimulationWriteParams
impl Sync for LuaSimulationWriteParams
impl Unpin for LuaSimulationWriteParams
impl UnsafeUnpin for LuaSimulationWriteParams
impl UnwindSafe for LuaSimulationWriteParams
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