pub trait IKeyExprTreeNodeMut<Weight>: IKeyExprTreeNode<Weight> {
    // Required methods
    fn parent_mut(&mut self) -> Option<&mut Self::Parent>;
    fn weight_mut(&mut self) -> Option<&mut Weight>;
    fn take_weight(&mut self) -> Option<Weight>;
    fn insert_weight(&mut self, weight: Weight) -> Option<Weight>;
    fn children_mut(&mut self) -> &mut Self::Children;
}

Required Methods§

source

fn parent_mut(&mut self) -> Option<&mut Self::Parent>

source

fn weight_mut(&mut self) -> Option<&mut Weight>

source

fn take_weight(&mut self) -> Option<Weight>

source

fn insert_weight(&mut self, weight: Weight) -> Option<Weight>

source

fn children_mut(&mut self) -> &mut Self::Children

Implementations on Foreign Types§

source§

impl<T: IKeyExprTreeNodeMut<Weight>, Weight, Token: TokenTrait> IKeyExprTreeNodeMut<Weight> for (&Arc<TokenCell<T, Token>>, &mut Token)

source§

fn parent_mut(&mut self) -> Option<&mut Self::Parent>

source§

fn weight_mut(&mut self) -> Option<&mut Weight>

source§

fn take_weight(&mut self) -> Option<Weight>

source§

fn insert_weight(&mut self, weight: Weight) -> Option<Weight>

source§

fn children_mut(&mut self) -> &mut Self::Children

source§

impl<T: IKeyExprTreeNodeMut<Weight>, Weight> IKeyExprTreeNodeMut<Weight> for Box<T>

source§

fn parent_mut(&mut self) -> Option<&mut Self::Parent>

source§

fn weight_mut(&mut self) -> Option<&mut Weight>

source§

fn take_weight(&mut self) -> Option<Weight>

source§

fn insert_weight(&mut self, weight: Weight) -> Option<Weight>

source§

fn children_mut(&mut self) -> &mut Self::Children

source§

impl<T: IKeyExprTreeNodeMut<Weight>, Weight, Token: TokenTrait> IKeyExprTreeNodeMut<Weight> for (&TokenCell<T, Token>, &mut Token)

source§

fn parent_mut(&mut self) -> Option<&mut Self::Parent>

source§

fn weight_mut(&mut self) -> Option<&mut Weight>

source§

fn take_weight(&mut self) -> Option<Weight>

source§

fn insert_weight(&mut self, weight: Weight) -> Option<Weight>

source§

fn children_mut(&mut self) -> &mut Self::Children

source§

impl<T: IKeyExprTreeNodeMut<Weight>, Weight> IKeyExprTreeNodeMut<Weight> for &mut T

source§

fn parent_mut(&mut self) -> Option<&mut Self::Parent>

source§

fn weight_mut(&mut self) -> Option<&mut Weight>

source§

fn take_weight(&mut self) -> Option<Weight>

source§

fn insert_weight(&mut self, weight: Weight) -> Option<Weight>

source§

fn children_mut(&mut self) -> &mut Self::Children

Implementors§

source§

impl<T: IKeyExprTreeNodeMut<Weight>, Weight, Token: TokenTrait> IKeyExprTreeNodeMut<Weight> for Tokenized<&Arc<TokenCell<T, Token>>, &mut Token>

source§

impl<T: IKeyExprTreeNodeMut<Weight>, Weight, Token: TokenTrait> IKeyExprTreeNodeMut<Weight> for Tokenized<&TokenCell<T, Token>, &mut Token>

source§

impl<Weight, Parent: IArcProvider, Wildness: IWildness, Children: IChildrenProvider<Arc<TokenCell<KeArcTreeNode<Weight, Weak<()>, Wildness, Children, Token>, Token>>>, Token: TokenTrait> IKeyExprTreeNodeMut<Weight> for KeArcTreeNode<Weight, Parent, Wildness, Children, Token>where Children::Assoc: IChildren<Arc<TokenCell<KeArcTreeNode<Weight, Weak<()>, Wildness, Children, Token>, Token>>>,

source§

impl<Weight, Wildness: IWildness, Children: IChildrenProvider<Box<Self>>> IKeyExprTreeNodeMut<Weight> for KeyExprTreeNode<Weight, Wildness, Children>where Children::Assoc: IChildren<Box<Self>>,