Struct im_pathtree::HalfEdge
source · pub struct HalfEdge<T: PathTreeTypes> {
pub node_id: NodeId,
pub path_segment: <T as PathTreeTypes>::PathSegment,
}
Expand description
Half-edge to another node in the tree.
Owns the path segment.
Fields§
§node_id: NodeId
The id of the target node.
path_segment: <T as PathTreeTypes>::PathSegment
Path segment from the (implicit) source to the target node.
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for HalfEdge<T>where <T as PathTreeTypes>::PathSegment: RefUnwindSafe,
impl<T> Send for HalfEdge<T>where <T as PathTreeTypes>::PathSegment: Send,
impl<T> Sync for HalfEdge<T>where <T as PathTreeTypes>::PathSegment: Sync,
impl<T> Unpin for HalfEdge<T>where <T as PathTreeTypes>::PathSegment: Unpin,
impl<T> UnwindSafe for HalfEdge<T>where <T as PathTreeTypes>::PathSegment: UnwindSafe,
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