pub struct DirectedEdgeDefinedByKeys { /* private fields */ }Implementations§
Source§impl DirectedEdgeDefinedByKeys
impl DirectedEdgeDefinedByKeys
pub fn new( from_vertex: VertexKey, edge_type: EdgeType, to_vertex: VertexKey, ) -> Self
pub fn edge_type_ref(&self) -> &EdgeTypeRef
pub fn originates_from_vertex(&self) -> &VertexKey
pub fn points_to_vertex(&self) -> &VertexKey
Trait Implementations§
Source§impl Clone for DirectedEdgeDefinedByKeys
impl Clone for DirectedEdgeDefinedByKeys
Source§fn clone(&self) -> DirectedEdgeDefinedByKeys
fn clone(&self) -> DirectedEdgeDefinedByKeys
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DirectedEdgeDefinedByKeys
impl Debug for DirectedEdgeDefinedByKeys
impl StructuralPartialEq for DirectedEdgeDefinedByKeys
Auto Trait Implementations§
impl Freeze for DirectedEdgeDefinedByKeys
impl RefUnwindSafe for DirectedEdgeDefinedByKeys
impl Send for DirectedEdgeDefinedByKeys
impl Sync for DirectedEdgeDefinedByKeys
impl Unpin for DirectedEdgeDefinedByKeys
impl UnsafeUnpin for DirectedEdgeDefinedByKeys
impl UnwindSafe for DirectedEdgeDefinedByKeys
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