#[repr(C)]pub struct NodeHierarchyItem {
pub parent: usize,
pub previous_sibling: usize,
pub next_sibling: usize,
pub last_child: usize,
}
Fields§
§parent: usize
§previous_sibling: usize
§next_sibling: usize
§last_child: usize
Implementations§
Trait Implementations§
Source§impl Clone for NodeHierarchyItem
impl Clone for NodeHierarchyItem
Source§fn clone(&self) -> NodeHierarchyItem
fn clone(&self) -> NodeHierarchyItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NodeHierarchyItem
impl Debug for NodeHierarchyItem
Source§impl Extend<NodeHierarchyItem> for NodeHierarchyItemVec
impl Extend<NodeHierarchyItem> for NodeHierarchyItemVec
Source§fn extend<T: IntoIterator<Item = NodeHierarchyItem>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = NodeHierarchyItem>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl From<Node> for NodeHierarchyItem
impl From<Node> for NodeHierarchyItem
Source§fn from(node: Node) -> NodeHierarchyItem
fn from(node: Node) -> NodeHierarchyItem
Converts to this type from the input type.
Source§impl FromIterator<NodeHierarchyItem> for NodeHierarchyItemVec
impl FromIterator<NodeHierarchyItem> for NodeHierarchyItemVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = NodeHierarchyItem>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = NodeHierarchyItem>,
Creates a value from an iterator. Read more
Source§impl Hash for NodeHierarchyItem
impl Hash for NodeHierarchyItem
Source§impl Ord for NodeHierarchyItem
impl Ord for NodeHierarchyItem
Source§fn cmp(&self, other: &NodeHierarchyItem) -> Ordering
fn cmp(&self, other: &NodeHierarchyItem) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NodeHierarchyItem
impl PartialEq for NodeHierarchyItem
Source§impl PartialOrd for NodeHierarchyItem
impl PartialOrd for NodeHierarchyItem
impl Copy for NodeHierarchyItem
impl Eq for NodeHierarchyItem
impl StructuralPartialEq for NodeHierarchyItem
Auto Trait Implementations§
impl Freeze for NodeHierarchyItem
impl RefUnwindSafe for NodeHierarchyItem
impl Send for NodeHierarchyItem
impl Sync for NodeHierarchyItem
impl Unpin for NodeHierarchyItem
impl UnwindSafe for NodeHierarchyItem
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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