Struct initiative_core::world::command::autocomplete::ParsedInput
source · struct ParsedInput<'a> {
name_desc: &'a str,
name: &'a str,
desc: &'a str,
desc_lower: Option<String>,
partial: &'a str,
}
Fields§
§name_desc: &'a str
§name: &'a str
§desc: &'a str
§desc_lower: Option<String>
§partial: &'a str
Implementations§
source§impl<'a> ParsedInput<'a>
impl<'a> ParsedInput<'a>
fn suggestion(&self, suggestion: &str) -> String
fn desc_lower(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ParsedInput<'a>
impl<'a> RefUnwindSafe for ParsedInput<'a>
impl<'a> Send for ParsedInput<'a>
impl<'a> Sync for ParsedInput<'a>
impl<'a> Unpin for ParsedInput<'a>
impl<'a> UnwindSafe for ParsedInput<'a>
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