pub struct StaticCommandRegistry { /* private fields */ }Implementations§
Source§impl StaticCommandRegistry
impl StaticCommandRegistry
pub fn try_new( commands: Vec<CommandSchema>, ) -> Result<Self, CommandSchemaValidationError>
Trait Implementations§
Source§impl Clone for StaticCommandRegistry
impl Clone for StaticCommandRegistry
Source§fn clone(&self) -> StaticCommandRegistry
fn clone(&self) -> StaticCommandRegistry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StaticCommandRegistry
impl Debug for StaticCommandRegistry
Source§impl Default for StaticCommandRegistry
impl Default for StaticCommandRegistry
Source§fn default() -> StaticCommandRegistry
fn default() -> StaticCommandRegistry
Returns the “default value” for a type. Read more
Source§impl PartialEq for StaticCommandRegistry
impl PartialEq for StaticCommandRegistry
impl Eq for StaticCommandRegistry
impl StructuralPartialEq for StaticCommandRegistry
Auto Trait Implementations§
impl Freeze for StaticCommandRegistry
impl RefUnwindSafe for StaticCommandRegistry
impl Send for StaticCommandRegistry
impl Sync for StaticCommandRegistry
impl Unpin for StaticCommandRegistry
impl UnsafeUnpin for StaticCommandRegistry
impl UnwindSafe for StaticCommandRegistry
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