pub struct Command<const PREFIX: &'static str, Cmd> {
pub command: Cmd,
}Fields§
§command: CmdTrait Implementations§
Auto Trait Implementations§
impl<const PREFIX: &'static str, Cmd> Freeze for Command<PREFIX, Cmd>where
Cmd: Freeze,
impl<const PREFIX: &'static str, Cmd> RefUnwindSafe for Command<PREFIX, Cmd>where
Cmd: RefUnwindSafe,
impl<const PREFIX: &'static str, Cmd> Send for Command<PREFIX, Cmd>where
Cmd: Send,
impl<const PREFIX: &'static str, Cmd> Sync for Command<PREFIX, Cmd>where
Cmd: Sync,
impl<const PREFIX: &'static str, Cmd> Unpin for Command<PREFIX, Cmd>where
Cmd: Unpin,
impl<const PREFIX: &'static str, Cmd> UnwindSafe for Command<PREFIX, Cmd>where
Cmd: 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