Struct im_pathtree::HalfEdgeTreeNodeRef
source · pub struct HalfEdgeTreeNodeRef<'a, T: PathTreeTypes> {
pub path_segment: &'a T::PathSegmentRef,
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::PathSegmentRef
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 HalfEdgeTreeNodeRef<'a, T>where
T::PathSegmentRef: Clone,
impl<'a, T: Clone + PathTreeTypes> Clone for HalfEdgeTreeNodeRef<'a, T>where
T::PathSegmentRef: Clone,
source§fn clone(&self) -> HalfEdgeTreeNodeRef<'a, T>
fn clone(&self) -> HalfEdgeTreeNodeRef<'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 HalfEdgeTreeNodeRef<'a, T>where
T::PathSegmentRef: Debug,
impl<'a, T: Debug + PathTreeTypes> Debug for HalfEdgeTreeNodeRef<'a, T>where
T::PathSegmentRef: Debug,
Auto Trait Implementations§
impl<'a, T> Freeze for HalfEdgeTreeNodeRef<'a, T>
impl<'a, T> RefUnwindSafe for HalfEdgeTreeNodeRef<'a, T>where
<T as PathTreeTypes>::InnerValue: RefUnwindSafe,
<T as PathTreeTypes>::LeafValue: RefUnwindSafe,
<T as PathTreeTypes>::PathSegment: RefUnwindSafe,
<T as PathTreeTypes>::PathSegmentRef: RefUnwindSafe,
impl<'a, T> Send for HalfEdgeTreeNodeRef<'a, T>where
<T as PathTreeTypes>::InnerValue: Sync + Send,
<T as PathTreeTypes>::LeafValue: Sync + Send,
<T as PathTreeTypes>::PathSegment: Sync + Send,
<T as PathTreeTypes>::PathSegmentRef: Sync,
impl<'a, T> Sync for HalfEdgeTreeNodeRef<'a, T>where
<T as PathTreeTypes>::InnerValue: Sync + Send,
<T as PathTreeTypes>::LeafValue: Sync + Send,
<T as PathTreeTypes>::PathSegment: Sync + Send,
<T as PathTreeTypes>::PathSegmentRef: Sync,
impl<'a, T> Unpin for HalfEdgeTreeNodeRef<'a, T>
impl<'a, T> UnwindSafe for HalfEdgeTreeNodeRef<'a, T>where
<T as PathTreeTypes>::InnerValue: RefUnwindSafe,
<T as PathTreeTypes>::LeafValue: RefUnwindSafe,
<T as PathTreeTypes>::PathSegment: RefUnwindSafe,
<T as PathTreeTypes>::PathSegmentRef: 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