pub struct DiffGenGraphRef<'a>(pub &'a DiffGenGraph);Tuple Fields§
§0: &'a DiffGenGraphTrait Implementations§
Source§impl<'a> From<&'a GraphMap<DiffGraphNode, Vec<DiffGraphEdge>, Directed>> for DiffGenGraphRef<'a>
impl<'a> From<&'a GraphMap<DiffGraphNode, Vec<DiffGraphEdge>, Directed>> for DiffGenGraphRef<'a>
Source§fn from(graph: &'a DiffGenGraph) -> Self
fn from(graph: &'a DiffGenGraph) -> Self
Converts to this type from the input type.
Source§impl<'a> From<DiffGenGraphRef<'a>> for GenGraph
impl<'a> From<DiffGenGraphRef<'a>> for GenGraph
Source§fn from(val: DiffGenGraphRef<'a>) -> Self
fn from(val: DiffGenGraphRef<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for DiffGenGraphRef<'a>
impl<'a> RefUnwindSafe for DiffGenGraphRef<'a>
impl<'a> Send for DiffGenGraphRef<'a>
impl<'a> Sync for DiffGenGraphRef<'a>
impl<'a> Unpin for DiffGenGraphRef<'a>
impl<'a> UnsafeUnpin for DiffGenGraphRef<'a>
impl<'a> UnwindSafe for DiffGenGraphRef<'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> 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