pub struct DisplayNode<'a> {
pub(crate) node: NodeIndex,
pub(crate) graph: &'a SPDG,
pub(crate) detailed: bool,
}
Expand description
A structure with a Display
implementation that shows information about a
node index in a given graph.
Fields§
§node: NodeIndex
§graph: &'a SPDG
§detailed: bool
Implementations§
Trait Implementations§
Source§impl<'a> Clone for DisplayNode<'a>
impl<'a> Clone for DisplayNode<'a>
Source§fn clone(&self) -> DisplayNode<'a>
fn clone(&self) -> DisplayNode<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for DisplayNode<'a>
impl<'a> RefUnwindSafe for DisplayNode<'a>
impl<'a> Send for DisplayNode<'a>
impl<'a> Sync for DisplayNode<'a>
impl<'a> Unpin for DisplayNode<'a>
impl<'a> UnwindSafe for DisplayNode<'a>
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more