pub struct GraphEdgeId(/* private fields */);
Expand description
ID to identify an edge.
Trait Implementations§
Source§impl Clone for GraphEdgeId
impl Clone for GraphEdgeId
Source§fn clone(&self) -> GraphEdgeId
fn clone(&self) -> GraphEdgeId
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 Debug for GraphEdgeId
impl Debug for GraphEdgeId
Source§impl Default for GraphEdgeId
impl Default for GraphEdgeId
Source§fn default() -> GraphEdgeId
fn default() -> GraphEdgeId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphEdgeId
impl<'de> Deserialize<'de> for GraphEdgeId
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<KeyData> for GraphEdgeId
impl From<KeyData> for GraphEdgeId
Source§impl Hash for GraphEdgeId
impl Hash for GraphEdgeId
Source§impl Key for GraphEdgeId
impl Key for GraphEdgeId
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!
, which calls this
method). Read moreSource§impl Ord for GraphEdgeId
impl Ord for GraphEdgeId
Source§fn cmp(&self, other: &GraphEdgeId) -> Ordering
fn cmp(&self, other: &GraphEdgeId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GraphEdgeId
impl PartialEq for GraphEdgeId
Source§impl PartialOrd for GraphEdgeId
impl PartialOrd for GraphEdgeId
Source§impl Serialize for GraphEdgeId
impl Serialize for GraphEdgeId
impl Copy for GraphEdgeId
impl Eq for GraphEdgeId
impl StructuralPartialEq for GraphEdgeId
Auto Trait Implementations§
impl Freeze for GraphEdgeId
impl RefUnwindSafe for GraphEdgeId
impl Send for GraphEdgeId
impl Sync for GraphEdgeId
impl Unpin for GraphEdgeId
impl UnwindSafe for GraphEdgeId
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