pub struct DirectedEdge {
pub source: usize,
pub target: usize,
}Fields§
§source: usize§target: usizeImplementations§
Trait Implementations§
Source§impl Clone for DirectedEdge
impl Clone for DirectedEdge
Source§fn clone(&self) -> DirectedEdge
fn clone(&self) -> DirectedEdge
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 DirectedEdge
impl Debug for DirectedEdge
Source§impl Hash for DirectedEdge
impl Hash for DirectedEdge
Source§impl PartialEq for DirectedEdge
impl PartialEq for DirectedEdge
Source§fn eq(&self, other: &DirectedEdge) -> bool
fn eq(&self, other: &DirectedEdge) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DirectedEdge
impl Eq for DirectedEdge
impl StructuralPartialEq for DirectedEdge
Auto Trait Implementations§
impl Freeze for DirectedEdge
impl RefUnwindSafe for DirectedEdge
impl Send for DirectedEdge
impl Sync for DirectedEdge
impl Unpin for DirectedEdge
impl UnsafeUnpin for DirectedEdge
impl UnwindSafe for DirectedEdge
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