Struct graph_theory::DirectedEdge
source · pub struct DirectedEdge {
pub from: usize,
pub goto: usize,
}
Fields§
§from: usize
§goto: usize
Implementations§
Trait Implementations§
source§impl Clone for DirectedEdge
impl Clone for DirectedEdge
source§fn clone(&self) -> DirectedEdge
fn clone(&self) -> DirectedEdge
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 Debug for DirectedEdge
impl Debug for DirectedEdge
source§impl Edge for DirectedEdge
impl Edge for DirectedEdge
source§impl PartialEq<DirectedEdge> for DirectedEdge
impl PartialEq<DirectedEdge> for DirectedEdge
source§fn eq(&self, other: &DirectedEdge) -> bool
fn eq(&self, other: &DirectedEdge) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DirectedEdge
impl Eq for DirectedEdge
impl StructuralEq for DirectedEdge
impl StructuralPartialEq for DirectedEdge
Auto Trait Implementations§
impl RefUnwindSafe for DirectedEdge
impl Send for DirectedEdge
impl Sync for DirectedEdge
impl Unpin 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