pub struct NodeHierarchyRefMut<'a> {
pub internal: &'a mut [Node],
}Fields§
§internal: &'a mut [Node]Implementations§
Source§impl<'a> NodeHierarchyRefMut<'a>
impl<'a> NodeHierarchyRefMut<'a>
pub fn from_slice(data: &'a mut [Node]) -> NodeHierarchyRefMut<'a>
Trait Implementations§
Source§impl<'a> Debug for NodeHierarchyRefMut<'a>
impl<'a> Debug for NodeHierarchyRefMut<'a>
Source§impl<'a> Hash for NodeHierarchyRefMut<'a>
impl<'a> Hash for NodeHierarchyRefMut<'a>
Source§impl<'a> Index<NodeId> for NodeHierarchyRefMut<'a>
impl<'a> Index<NodeId> for NodeHierarchyRefMut<'a>
Source§impl<'a> IndexMut<NodeId> for NodeHierarchyRefMut<'a>
impl<'a> IndexMut<NodeId> for NodeHierarchyRefMut<'a>
Source§impl<'a> PartialEq for NodeHierarchyRefMut<'a>
impl<'a> PartialEq for NodeHierarchyRefMut<'a>
impl<'a> Eq for NodeHierarchyRefMut<'a>
impl<'a> StructuralPartialEq for NodeHierarchyRefMut<'a>
Auto Trait Implementations§
impl<'a> Freeze for NodeHierarchyRefMut<'a>
impl<'a> RefUnwindSafe for NodeHierarchyRefMut<'a>
impl<'a> Send for NodeHierarchyRefMut<'a>
impl<'a> Sync for NodeHierarchyRefMut<'a>
impl<'a> Unpin for NodeHierarchyRefMut<'a>
impl<'a> !UnwindSafe for NodeHierarchyRefMut<'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
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