pub struct Node<R, N, B, const BOUND: bool>{ /* private fields */ }
Implementations§
Source§impl<'a, N, B> Node<&'a Tree<N, B>, N, B, TREEBOUND>
impl<'a, N, B> Node<&'a Tree<N, B>, N, B, TREEBOUND>
pub fn iter<T: TreeIterTarget<'a, N, B>>(&self) -> Iter<'a, N, B, T> ⓘ
Source§impl<R, N, B> Node<R, N, B, TREEBOUND>
impl<R, N, B> Node<R, N, B, TREEBOUND>
pub fn remove_subtree(self) -> DetachedEntry<R, N, B, TREEBOUND>
pub fn remove_child_subtrees(&mut self, children: Vec<B>)
Trait Implementations§
Auto Trait Implementations§
impl<R, N, B, const BOUND: bool> Freeze for Node<R, N, B, BOUND>where
R: Freeze,
impl<R, N, B, const BOUND: bool> RefUnwindSafe for Node<R, N, B, BOUND>where
R: RefUnwindSafe,
B: RefUnwindSafe,
impl<R, N, B, const BOUND: bool> Send for Node<R, N, B, BOUND>
impl<R, N, B, const BOUND: bool> Sync for Node<R, N, B, BOUND>
impl<R, N, B, const BOUND: bool> Unpin for Node<R, N, B, BOUND>
impl<R, N, B, const BOUND: bool> UnwindSafe for Node<R, N, B, BOUND>where
R: UnwindSafe,
B: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more