pub struct BoxedNode(pub Box<dyn Node>);Expand description
A wrapper around a Box<dyn Node>.
Provides the necessary Sized implementation to allow for compatibility with the graph process
function.
Tuple Fields§
§0: Box<dyn Node>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoxedNode
impl !RefUnwindSafe for BoxedNode
impl !Send for BoxedNode
impl !Sync for BoxedNode
impl Unpin for BoxedNode
impl UnsafeUnpin for BoxedNode
impl !UnwindSafe for BoxedNode
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