pub struct DegreeDistribution {
pub degree: usize,
pub count: usize,
pub fraction: f64,
}Expand description
度分布统计
Fields§
§degree: usize§count: usize§fraction: f64Trait Implementations§
Source§impl Clone for DegreeDistribution
impl Clone for DegreeDistribution
Source§fn clone(&self) -> DegreeDistribution
fn clone(&self) -> DegreeDistribution
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 moreSource§impl Debug for DegreeDistribution
impl Debug for DegreeDistribution
Auto Trait Implementations§
impl Freeze for DegreeDistribution
impl RefUnwindSafe for DegreeDistribution
impl Send for DegreeDistribution
impl Sync for DegreeDistribution
impl Unpin for DegreeDistribution
impl UnsafeUnpin for DegreeDistribution
impl UnwindSafe for DegreeDistribution
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