pub trait CmdString: 'static + Debug + Clone + Default + Eq + Hash + Sealed{
type Str: ?Sized + ToOwned<Owned = Self> + AsRef<OsStr> + AsRef<Self::Str> + Eq + Hash + ToStringLossy;
// Required method
fn from_str(string: &str) -> &Self::Str;
}
Expand description
A string type that can be used to construct commands.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.