pub struct HalfEdgeTreeNode<'a, T: PathTreeTypes> {
pub path_segment: &'a T::PathSegment,
pub node: &'a Arc<TreeNode<T>>,
}
Expand description
Half-edge to another node in the tree.
Borrows the path segment.
Fields§
§path_segment: &'a T::PathSegment
Path segment from the (implicit) source to the target node.
node: &'a Arc<TreeNode<T>>
The target node.
Trait Implementations§
Source§impl<'a, T: Clone + PathTreeTypes> Clone for HalfEdgeTreeNode<'a, T>where
T::PathSegment: Clone,
impl<'a, T: Clone + PathTreeTypes> Clone for HalfEdgeTreeNode<'a, T>where
T::PathSegment: Clone,
Source§fn clone(&self) -> HalfEdgeTreeNode<'a, T>
fn clone(&self) -> HalfEdgeTreeNode<'a, T>
Returns a copy 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<'a, T: Debug + PathTreeTypes> Debug for HalfEdgeTreeNode<'a, T>where
T::PathSegment: Debug,
impl<'a, T: Debug + PathTreeTypes> Debug for HalfEdgeTreeNode<'a, T>where
T::PathSegment: Debug,
Auto Trait Implementations§
impl<'a, T> Freeze for HalfEdgeTreeNode<'a, T>
impl<'a, T> RefUnwindSafe for HalfEdgeTreeNode<'a, T>where
<T as PathTreeTypes>::PathSegment: RefUnwindSafe,
<T as PathTreeTypes>::NodeId: RefUnwindSafe,
<T as PathTreeTypes>::PathSegmentOwned: RefUnwindSafe,
<T as PathTreeTypes>::InnerValue: RefUnwindSafe,
<T as PathTreeTypes>::LeafValue: RefUnwindSafe,
impl<'a, T> Send for HalfEdgeTreeNode<'a, T>where
<T as PathTreeTypes>::PathSegment: Sync,
<T as PathTreeTypes>::NodeId: Sync + Send,
<T as PathTreeTypes>::PathSegmentOwned: Sync + Send,
<T as PathTreeTypes>::InnerValue: Sync + Send,
<T as PathTreeTypes>::LeafValue: Sync + Send,
impl<'a, T> Sync for HalfEdgeTreeNode<'a, T>where
<T as PathTreeTypes>::PathSegment: Sync,
<T as PathTreeTypes>::NodeId: Sync + Send,
<T as PathTreeTypes>::PathSegmentOwned: Sync + Send,
<T as PathTreeTypes>::InnerValue: Sync + Send,
<T as PathTreeTypes>::LeafValue: Sync + Send,
impl<'a, T> Unpin for HalfEdgeTreeNode<'a, T>
impl<'a, T> UnwindSafe for HalfEdgeTreeNode<'a, T>where
<T as PathTreeTypes>::PathSegment: RefUnwindSafe,
<T as PathTreeTypes>::NodeId: RefUnwindSafe,
<T as PathTreeTypes>::PathSegmentOwned: RefUnwindSafe,
<T as PathTreeTypes>::InnerValue: RefUnwindSafe,
<T as PathTreeTypes>::LeafValue: 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> 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