Struct DirectedEdge
pub struct DirectedEdge {
pub source: usize,
pub target: usize,
}Fields§
§source: usize§target: usizeImplementations§
§impl DirectedEdge
impl DirectedEdge
Trait Implementations§
§impl Clone for DirectedEdge
impl Clone for DirectedEdge
§fn clone(&self) -> DirectedEdge
fn clone(&self) -> DirectedEdge
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 more§impl Debug for DirectedEdge
impl Debug for DirectedEdge
§impl Hash for DirectedEdge
impl Hash for DirectedEdge
§impl PartialEq for DirectedEdge
impl PartialEq for DirectedEdge
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