#[repr(C)]pub struct KeyExprTreeNode<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> { /* private fields */ }
Trait Implementations§
Source§impl<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> AsMut<KeyExprTreeNode<Weight, Wildness, Children>> for KeyExprTreeNode<Weight, Wildness, Children>
impl<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> AsMut<KeyExprTreeNode<Weight, Wildness, Children>> for KeyExprTreeNode<Weight, Wildness, Children>
Source§impl<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> AsRef<KeyExprTreeNode<Weight, Wildness, Children>> for KeyExprTreeNode<Weight, Wildness, Children>
impl<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> AsRef<KeyExprTreeNode<Weight, Wildness, Children>> for KeyExprTreeNode<Weight, Wildness, Children>
Source§impl<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> HasChunk for KeyExprTreeNode<Weight, Wildness, Children>
impl<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> HasChunk for KeyExprTreeNode<Weight, Wildness, Children>
Source§impl<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> IKeyExprTreeNode<Weight> for KeyExprTreeNode<Weight, Wildness, Children>
impl<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> IKeyExprTreeNode<Weight> for KeyExprTreeNode<Weight, Wildness, Children>
Source§impl<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> IKeyExprTreeNodeMut<Weight> for KeyExprTreeNode<Weight, Wildness, Children>
impl<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> IKeyExprTreeNodeMut<Weight> for KeyExprTreeNode<Weight, Wildness, Children>
Source§fn parent_mut(&mut self) -> Option<&mut Self>
fn parent_mut(&mut self) -> Option<&mut Self>
Mutably access the parent node if it exists (the node isn’t the first chunk of a key-expression).
Source§fn weight_mut(&mut self) -> Option<&mut Weight>
fn weight_mut(&mut self) -> Option<&mut Weight>
Mutably access the node’s weight.
Source§fn take_weight(&mut self) -> Option<Weight>
fn take_weight(&mut self) -> Option<Weight>
Remove the node’s weight.
Source§fn insert_weight(&mut self, weight: Weight) -> Option<Weight>
fn insert_weight(&mut self, weight: Weight) -> Option<Weight>
Assign a weight to the node, returning the previous weight if the node had one.
Source§fn children_mut(&mut self) -> &mut Self::Children
fn children_mut(&mut self) -> &mut Self::Children
Mutably access the node’s children.
impl<Weight: Send, Wildness: IWildness + Send, Children: IChildrenProvider<Box<Self>> + Send> Send for KeyExprTreeNode<Weight, Wildness, Children>
impl<Weight: Sync, Wildness: IWildness + Sync, Children: IChildrenProvider<Box<Self>> + Sync> Sync for KeyExprTreeNode<Weight, Wildness, Children>
Auto Trait Implementations§
impl<Weight, Wildness, Children> Freeze for KeyExprTreeNode<Weight, Wildness, Children>where
<Children as IChildrenProvider<Box<KeyExprTreeNode<Weight, Wildness, Children>>>>::Assoc: Freeze,
Weight: Freeze,
impl<Weight, Wildness, Children> RefUnwindSafe for KeyExprTreeNode<Weight, Wildness, Children>where
<Children as IChildrenProvider<Box<KeyExprTreeNode<Weight, Wildness, Children>>>>::Assoc: RefUnwindSafe,
Weight: RefUnwindSafe,
impl<Weight, Wildness, Children> Unpin for KeyExprTreeNode<Weight, Wildness, Children>where
<Children as IChildrenProvider<Box<KeyExprTreeNode<Weight, Wildness, Children>>>>::Assoc: Unpin,
Weight: Unpin,
impl<Weight, Wildness, Children> UnwindSafe for KeyExprTreeNode<Weight, Wildness, Children>where
<Children as IChildrenProvider<Box<KeyExprTreeNode<Weight, Wildness, Children>>>>::Assoc: UnwindSafe + RefUnwindSafe,
Weight: UnwindSafe + RefUnwindSafe,
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> 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