pub struct Runtime { /* private fields */ }Implementations§
Source§impl Runtime
impl Runtime
pub fn new() -> Self
pub fn add_node(&mut self, node: Box<dyn Node>)
pub fn get(&self, path: &Path) -> Option<&dyn Node>
pub fn run( &mut self, initial_arg: Box<dyn Arg>, start_path: Path, ) -> Option<Box<dyn Target>>
pub fn path(&self) -> &Path
pub fn reset(&mut self)
pub fn iter_nodes(&self) -> impl Iterator<Item = &dyn Node>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Runtime
impl !Send for Runtime
impl !Sync for Runtime
impl !UnwindSafe for Runtime
impl Freeze for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
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