[][src]Struct nconsole::CommandsRegister

pub struct CommandsRegister { /* fields omitted */ }

Implementations

impl CommandsRegister[src]

pub fn new() -> CommandsRegister[src]

pub fn get_error_handler(&self) -> &dyn ErrorHandler[src]

pub fn set_error_handler(&mut self, error_handler: impl ErrorHandler + 'static)[src]

pub fn get_command_from_command_name(
    &self,
    command_name: &str
) -> Option<&Box<dyn Command>>
[src]

pub fn get_command_from_command_alias(
    &self,
    alias: &str
) -> Option<&Box<dyn Command>>
[src]

pub fn start(&self)[src]

pub fn end(&self)[src]

pub fn register_command(&mut self, command: impl Command + 'static)[src]

pub fn check_input(&self, input: String) -> bool[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.