pub struct NodeDegree {
pub node: String,
pub in_degree: usize,
pub out_degree: usize,
}Fields§
§node: String§in_degree: usize§out_degree: usizeTrait Implementations§
Source§impl Clone for NodeDegree
impl Clone for NodeDegree
Source§fn clone(&self) -> NodeDegree
fn clone(&self) -> NodeDegree
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 moreSource§impl Debug for NodeDegree
impl Debug for NodeDegree
Auto Trait Implementations§
impl Freeze for NodeDegree
impl RefUnwindSafe for NodeDegree
impl Send for NodeDegree
impl Sync for NodeDegree
impl Unpin for NodeDegree
impl UnsafeUnpin for NodeDegree
impl UnwindSafe for NodeDegree
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