pub enum Subtree<'a> {
New(DescriptorView<'a>),
Plan(&'a Plan),
Existing(NodeId),
}Expand description
A proposed child of a logical parent. New descriptors have no identity or descendants yet; existing ranges include their suspended descendants. This borrowed view is for validation, never a snapshot or host-tree lookup.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Subtree<'a>
impl<'a> !Send for Subtree<'a>
impl<'a> !Sync for Subtree<'a>
impl<'a> !UnwindSafe for Subtree<'a>
impl<'a> Freeze for Subtree<'a>
impl<'a> Unpin for Subtree<'a>
impl<'a> UnsafeUnpin for Subtree<'a>
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