Struct jupiter_rs::commands::CommandDictionary
source · [−]pub struct CommandDictionary { /* private fields */ }
Implementations
sourceimpl CommandDictionary
impl CommandDictionary
pub fn new() -> Self
pub fn install(platform: &Arc<Platform>) -> Arc<Self>
pub fn register_command(&self, name: &'static str, queue: Queue, token: usize)
pub fn commands(&self) -> Vec<Arc<Command>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn dispatcher(&self) -> Dispatcher
Auto Trait Implementations
impl RefUnwindSafe for CommandDictionary
impl Send for CommandDictionary
impl Sync for CommandDictionary
impl Unpin for CommandDictionary
impl UnwindSafe for CommandDictionary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more