[−][src]Struct dispatchtable::DispatchTable
Methods
impl<K, P, R> DispatchTable<K, P, R>[src]
Trait Implementations
impl<K, P, R> Dispatcher<K, P, R> for DispatchTable<K, P, R> where
K: Hash + Eq, [src]
K: Hash + Eq,
fn len(&self) -> usize[src]
fn contains_key(&self, key: &K) -> bool[src]
fn remove(&mut self, key: &K)[src]
fn insert(&mut self, key: K, item: Box<dyn DispatchFunction<P, R>>)[src]
fn get(&self, key: &K) -> Option<&Box<dyn DispatchFunction<P, R>>>[src]
fn into_vec(self) -> Vec<(K, Box<dyn DispatchFunction<P, R>>)>[src]
fn call(&self, key: &K, params: &P) -> Option<R>[src]
Auto Trait Implementations
impl<K, P, R> !RefUnwindSafe for DispatchTable<K, P, R>
impl<K, P, R> Send for DispatchTable<K, P, R> where
K: Send,
K: Send,
impl<K, P, R> Sync for DispatchTable<K, P, R> where
K: Sync,
K: Sync,
impl<K, P, R> Unpin for DispatchTable<K, P, R> where
K: Unpin,
K: Unpin,
impl<K, P, R> !UnwindSafe for DispatchTable<K, P, R>
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>,