pub struct LayoutEdgeMetadata { /* private fields */ }Expand description
One selected edge, restated with both of its ends and its own evidence.
Implementations§
Source§impl LayoutEdgeMetadata
impl LayoutEdgeMetadata
Sourcepub fn edge(self) -> GraphEdgeId
pub fn edge(self) -> GraphEdgeId
The raw edge this metadata describes.
Sourcepub fn source(self) -> GraphNodeId
pub fn source(self) -> GraphNodeId
The node it leaves.
Sourcepub fn target(self) -> GraphNodeId
pub fn target(self) -> GraphNodeId
The node it reaches.
Sourcepub fn kind(self) -> GraphEdgeKind
pub fn kind(self) -> GraphEdgeKind
What relation it states.
Sourcepub fn certainty(self) -> GraphCertainty
pub fn certainty(self) -> GraphCertainty
How certain that relation is.
Trait Implementations§
Source§impl Clone for LayoutEdgeMetadata
impl Clone for LayoutEdgeMetadata
impl Copy for LayoutEdgeMetadata
Auto Trait Implementations§
impl Freeze for LayoutEdgeMetadata
impl RefUnwindSafe for LayoutEdgeMetadata
impl Send for LayoutEdgeMetadata
impl Sync for LayoutEdgeMetadata
impl Unpin for LayoutEdgeMetadata
impl UnsafeUnpin for LayoutEdgeMetadata
impl UnwindSafe for LayoutEdgeMetadata
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