Struct TabCompleteEvent
pub struct TabCompleteEvent<'a> {
pub player: u128,
pub name: &'a str,
pub command: &'a str,
pub range: [usize; 2],
pub suggestions: &'a mut Vec<Suggestion>,
}Expand description
What Hooks::tab_complete is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§player: u128§name: &'a str§command: &'a str§range: [usize; 2]§suggestions: &'a mut Vec<Suggestion>Auto Trait Implementations§
impl<'a> !UnwindSafe for TabCompleteEvent<'a>
impl<'a> Freeze for TabCompleteEvent<'a>
impl<'a> RefUnwindSafe for TabCompleteEvent<'a>
impl<'a> Send for TabCompleteEvent<'a>
impl<'a> Sync for TabCompleteEvent<'a>
impl<'a> Unpin for TabCompleteEvent<'a>
impl<'a> UnsafeUnpin for TabCompleteEvent<'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