pub struct TriangleCountResult {
pub total_triangles: usize,
pub per_node_triangles: Vec<usize>,
}Expand description
Result of triangle counting.
Fields§
§total_triangles: usizeTotal number of triangles in the graph.
per_node_triangles: Vec<usize>Number of triangles each node participates in.
Trait Implementations§
Source§impl Clone for TriangleCountResult
impl Clone for TriangleCountResult
Source§fn clone(&self) -> TriangleCountResult
fn clone(&self) -> TriangleCountResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TriangleCountResult
impl RefUnwindSafe for TriangleCountResult
impl Send for TriangleCountResult
impl Sync for TriangleCountResult
impl Unpin for TriangleCountResult
impl UnsafeUnpin for TriangleCountResult
impl UnwindSafe for TriangleCountResult
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