pub struct SubTree<T> {
pub name: String,
pub root: Box<dyn Node<T>>,
}Expand description
Delegates to a separately defined subtree by name. The subtree is looked
up in a SubTreeRegistry stored on the blackboard via a string key.
For simplicity, we inline the subtree node directly.
Fields§
§name: String§root: Box<dyn Node<T>>Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SubTree<T>
impl<T> !RefUnwindSafe for SubTree<T>
impl<T> Send for SubTree<T>
impl<T> Sync for SubTree<T>
impl<T> Unpin for SubTree<T>
impl<T> UnsafeUnpin for SubTree<T>
impl<T> !UnwindSafe for SubTree<T>
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