[−][src]Struct abstractgraph::SimpleEdge
A trivial graph edge representation, whose only information is the destination node
A single outgoing edge from a known node to another node of type
N
Methods
impl<N> SimpleEdge<N>
[src]
pub fn from_destination(to: N) -> Self
[src]
Return a new SimpleEdge
with destination node to
Trait Implementations
impl<N: Clone> OutEdge<N> for SimpleEdge<N>
[src]
fn destination(&self) -> N
[src]
fn into_destination(self) -> N
[src]
impl<N: Clone> Clone for SimpleEdge<N>
[src]
fn clone(&self) -> SimpleEdge<N>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<N: Eq> Eq for SimpleEdge<N>
[src]
impl<N: Copy> Copy for SimpleEdge<N>
[src]
impl<N: PartialEq> PartialEq<SimpleEdge<N>> for SimpleEdge<N>
[src]
fn eq(&self, other: &SimpleEdge<N>) -> bool
[src]
fn ne(&self, other: &SimpleEdge<N>) -> bool
[src]
impl<N: Debug> Debug for SimpleEdge<N>
[src]
impl<N: Hash> Hash for SimpleEdge<N>
[src]
Auto Trait Implementations
impl<N> Send for SimpleEdge<N> where
N: Send,
N: Send,
impl<N> Sync for SimpleEdge<N> where
N: Sync,
N: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,