Struct flow_graph_interpreter::HandlerMap
source · pub struct HandlerMap { /* private fields */ }
Implementations§
source§impl HandlerMap
impl HandlerMap
pub fn new(components: Vec<NamespaceHandler>) -> Result<Self, InterpreterError>
pub const fn inner(&self) -> &HashMap<String, NamespaceHandler>
pub fn component_signatures(&self) -> HashMap<String, ComponentSignature>
pub fn get(&self, namespace: &str) -> Option<&NamespaceHandler>
pub fn has(&self, namespace: &str) -> bool
pub fn add( &mut self, component: NamespaceHandler ) -> Result<(), InterpreterError>
Trait Implementations§
source§impl Debug for HandlerMap
impl Debug for HandlerMap
Auto Trait Implementations§
impl !RefUnwindSafe for HandlerMap
impl Send for HandlerMap
impl Sync for HandlerMap
impl Unpin for HandlerMap
impl !UnwindSafe for HandlerMap
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