Struct petgraph::visit::ReversedEdgeReference
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)