pub enum RuntimeNode {
StaticallyLinked(Box<dyn Node>),
DynamicallyLinked(DynamicallyLinkedNode),
}Expand description
This is the main enum of this module. It represents a node that can be either statically linked or dynamically linked, allowing the runtime to use either type of node interchangeably.
Variants§
StaticallyLinked(Box<dyn Node>)
A statically linked node, which is a concrete implementation of the Node trait.
DynamicallyLinked(DynamicallyLinkedNode)
A dynamically linked node, which is loaded from a shared library at runtime.
Implementations§
Auto Trait Implementations§
impl Freeze for RuntimeNode
impl !RefUnwindSafe for RuntimeNode
impl Send for RuntimeNode
impl Sync for RuntimeNode
impl Unpin for RuntimeNode
impl !UnwindSafe for RuntimeNode
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