pub enum DegreeKind {
In,
Out,
Total,
}Expand description
Degree flavor.
Variants§
In
Stored incoming edges.
Out
Stored outgoing edges.
Total
Incoming plus outgoing. A self-loop contributes two.
Trait Implementations§
Source§impl Clone for DegreeKind
impl Clone for DegreeKind
Source§fn clone(&self) -> DegreeKind
fn clone(&self) -> DegreeKind
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 moreimpl Copy for DegreeKind
Source§impl Debug for DegreeKind
impl Debug for DegreeKind
Source§impl<'de> Deserialize<'de> for DegreeKind
impl<'de> Deserialize<'de> for DegreeKind
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
impl Eq for DegreeKind
Source§impl PartialEq for DegreeKind
impl PartialEq for DegreeKind
Source§impl Serialize for DegreeKind
impl Serialize for DegreeKind
impl StructuralPartialEq for DegreeKind
Auto Trait Implementations§
impl Freeze for DegreeKind
impl RefUnwindSafe for DegreeKind
impl Send for DegreeKind
impl Sync for DegreeKind
impl Unpin for DegreeKind
impl UnsafeUnpin for DegreeKind
impl UnwindSafe for DegreeKind
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