pub struct CommandString(/* private fields */);Expand description
A command string validated for use in a text component click event.
Implementations§
Trait Implementations§
Source§impl Clone for CommandString
impl Clone for CommandString
Source§fn clone(&self) -> CommandString
fn clone(&self) -> CommandString
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 CommandString
impl Debug for CommandString
Source§impl<'de> Deserialize<'de> for CommandString
impl<'de> Deserialize<'de> for CommandString
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CommandString
Source§impl Hash for CommandString
impl Hash for CommandString
Source§impl PartialEq for CommandString
impl PartialEq for CommandString
Source§impl Serialize for CommandString
impl Serialize for CommandString
impl StructuralPartialEq for CommandString
Auto Trait Implementations§
impl Freeze for CommandString
impl RefUnwindSafe for CommandString
impl Send for CommandString
impl Sync for CommandString
impl Unpin for CommandString
impl UnsafeUnpin for CommandString
impl UnwindSafe for CommandString
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