pub struct TreeMut<'a, T: 'a> {
pub id: NodeId,
pub parent: NodeId,
pub tree: &'a mut Tree<T>,
}
Fields§
§id: NodeId
Node ID.
parent: NodeId
Node ID of the parent.
tree: &'a mut Tree<T>
Tree containing the node.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for TreeMut<'a, T>
impl<'a, T> RefUnwindSafe for TreeMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for TreeMut<'a, T>where
T: Send,
impl<'a, T> Sync for TreeMut<'a, T>where
T: Sync,
impl<'a, T> Unpin for TreeMut<'a, T>
impl<'a, T> !UnwindSafe for TreeMut<'a, 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