[−][src]Struct new_home_application::method::method_manager::MethodManagerImpl
Implements the MethodManager
with the help of a Vec
tor and a HashMap
Method
s are stored in the vector which is later looped through to get the requested method struct
MethodCallable
s will be stored in the HashMap
Methods
impl MethodManagerImpl
[src]
Trait Implementations
impl MethodManager for MethodManagerImpl
[src]
fn add_method(&mut self, method: Method, callable: Box<dyn MethodCallable>)
[src]
fn get_method(&self, name: &String) -> Option<Method>
[src]
fn get_method_callback(&self, name: &String) -> Option<&Box<dyn MethodCallable>>
[src]
fn get_methods(&self) -> HashMap<String, Method>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for MethodManagerImpl
impl !Send for MethodManagerImpl
impl !Sync for MethodManagerImpl
impl Unpin for MethodManagerImpl
impl !UnwindSafe for MethodManagerImpl
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,