pub struct Entry<H> {
pub spec: CommandSpec,
pub handler: H,
/* private fields */
}Expand description
A registered command.
Fields§
§spec: CommandSpec§handler: HTrait Implementations§
Auto Trait Implementations§
impl<H> Freeze for Entry<H>where
H: Freeze,
impl<H> RefUnwindSafe for Entry<H>where
H: RefUnwindSafe,
impl<H> Send for Entry<H>where
H: Send,
impl<H> Sync for Entry<H>where
H: Sync,
impl<H> Unpin for Entry<H>where
H: Unpin,
impl<H> UnsafeUnpin for Entry<H>where
H: UnsafeUnpin,
impl<H> UnwindSafe for Entry<H>where
H: UnwindSafe,
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