pub struct ReversedEdgeReference<R>(/* private fields */);
Expand description
A reversed edge reference
Implementations§
Source§impl<R> ReversedEdgeReference<R>
impl<R> ReversedEdgeReference<R>
Sourcepub fn as_unreversed(&self) -> &R
pub fn as_unreversed(&self) -> &R
Return the original, unreversed edge reference.
Sourcepub fn into_unreversed(self) -> R
pub fn into_unreversed(self) -> R
Consume self
and return the original, unreversed edge reference.
Trait Implementations§
Source§impl<R: Clone> Clone for ReversedEdgeReference<R>
impl<R: Clone> Clone for ReversedEdgeReference<R>
Source§fn clone(&self) -> ReversedEdgeReference<R>
fn clone(&self) -> ReversedEdgeReference<R>
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<R: Debug> Debug for ReversedEdgeReference<R>
impl<R: Debug> Debug for ReversedEdgeReference<R>
Source§impl<R> EdgeRef for ReversedEdgeReference<R>where
R: EdgeRef,
impl<R> EdgeRef for ReversedEdgeReference<R>where
R: EdgeRef,
An edge reference
impl<R: Copy> Copy for ReversedEdgeReference<R>
Auto Trait Implementations§
impl<R> Freeze for ReversedEdgeReference<R>where
R: Freeze,
impl<R> RefUnwindSafe for ReversedEdgeReference<R>where
R: RefUnwindSafe,
impl<R> Send for ReversedEdgeReference<R>where
R: Send,
impl<R> Sync for ReversedEdgeReference<R>where
R: Sync,
impl<R> Unpin for ReversedEdgeReference<R>where
R: Unpin,
impl<R> UnwindSafe for ReversedEdgeReference<R>where
R: 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