pub enum Reciprocity {
Default,
Ratio,
}Expand description
Reciprocity definition (igraph_reciprocity_t).
Variants§
Default
Ratio of reciprocated edges to all edges.
Ratio
Ratio of mutual vertex pairs to connected vertex pairs.
Trait Implementations§
Source§impl Clone for Reciprocity
impl Clone for Reciprocity
Source§fn clone(&self) -> Reciprocity
fn clone(&self) -> Reciprocity
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 Reciprocity
Source§impl Debug for Reciprocity
impl Debug for Reciprocity
impl Eq for Reciprocity
Source§impl From<Reciprocity> for igraph_reciprocity_t
impl From<Reciprocity> for igraph_reciprocity_t
Source§fn from(value: Reciprocity) -> igraph_reciprocity_t
fn from(value: Reciprocity) -> igraph_reciprocity_t
Converts to this type from the input type.
Source§impl Hash for Reciprocity
impl Hash for Reciprocity
Source§impl PartialEq for Reciprocity
impl PartialEq for Reciprocity
Source§fn eq(&self, other: &Reciprocity) -> bool
fn eq(&self, other: &Reciprocity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Reciprocity
Auto Trait Implementations§
impl Freeze for Reciprocity
impl RefUnwindSafe for Reciprocity
impl Send for Reciprocity
impl Sync for Reciprocity
impl Unpin for Reciprocity
impl UnsafeUnpin for Reciprocity
impl UnwindSafe for Reciprocity
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