Struct jupiter_rs::commands::Command
source · [−]pub struct Command {
pub name: &'static str,
/* private fields */
}
Fields
name: &'static str
Implementations
sourceimpl Command
impl Command
pub fn call_count(&self) -> i32
pub fn avg_duration(&self) -> i32
Auto Trait Implementations
impl !RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl !UnwindSafe for Command
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