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