pub struct AdjacencyEdge<M> {
pub degree: usize,
pub metadata: M,
}
Fields§
§degree: usize
§metadata: M
Trait Implementations§
Source§impl<M> Clone for AdjacencyEdge<M>where
M: Clone,
impl<M> Clone for AdjacencyEdge<M>where
M: Clone,
Source§fn clone(&self) -> AdjacencyEdge<M>
fn clone(&self) -> AdjacencyEdge<M>
Returns a copy 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<M> Debug for AdjacencyEdge<M>where
M: Debug,
impl<M> Debug for AdjacencyEdge<M>where
M: Debug,
Source§impl<M> Default for AdjacencyEdge<M>where
M: Default,
impl<M> Default for AdjacencyEdge<M>where
M: Default,
Source§fn default() -> AdjacencyEdge<M>
fn default() -> AdjacencyEdge<M>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<M> Freeze for AdjacencyEdge<M>where
M: Freeze,
impl<M> RefUnwindSafe for AdjacencyEdge<M>where
M: RefUnwindSafe,
impl<M> Send for AdjacencyEdge<M>where
M: Send,
impl<M> Sync for AdjacencyEdge<M>where
M: Sync,
impl<M> Unpin for AdjacencyEdge<M>where
M: Unpin,
impl<M> UnwindSafe for AdjacencyEdge<M>where
M: UnwindSafe,
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