pub struct ProjectionSize {
pub vcount1: usize,
pub ecount1: usize,
pub vcount2: usize,
pub ecount2: usize,
}Expand description
Vertex and edge counts of the two projections of a bipartite graph,
the output of Graph::bipartite_projection_size.
Fields§
§vcount1: usizeNumber of vertices of the first projection (type false).
ecount1: usizeNumber of edges of the first projection.
vcount2: usizeNumber of vertices of the second projection (type true).
ecount2: usizeNumber of edges of the second projection.
Trait Implementations§
Source§impl Clone for ProjectionSize
impl Clone for ProjectionSize
Source§fn clone(&self) -> ProjectionSize
fn clone(&self) -> ProjectionSize
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 ProjectionSize
Source§impl Debug for ProjectionSize
impl Debug for ProjectionSize
impl Eq for ProjectionSize
Source§impl PartialEq for ProjectionSize
impl PartialEq for ProjectionSize
Source§fn eq(&self, other: &ProjectionSize) -> bool
fn eq(&self, other: &ProjectionSize) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProjectionSize
Auto Trait Implementations§
impl Freeze for ProjectionSize
impl RefUnwindSafe for ProjectionSize
impl Send for ProjectionSize
impl Sync for ProjectionSize
impl Unpin for ProjectionSize
impl UnsafeUnpin for ProjectionSize
impl UnwindSafe for ProjectionSize
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