pub struct VisibleInstGraph {
pub graph: DiGraph<VisibleNode, VisibleEdge, VisibleIx>,
pub generation: u32,
/* private fields */
}
Fields§
§graph: DiGraph<VisibleNode, VisibleEdge, VisibleIx>
§generation: u32
Implementations§
Source§impl VisibleInstGraph
impl VisibleInstGraph
Sourcepub fn contains(&self, i_idx: RawNodeIndex) -> bool
pub fn contains(&self, i_idx: RawNodeIndex) -> bool
Does the hidden instantiation graph contain the given node?
Trait Implementations§
Source§impl Default for VisibleInstGraph
impl Default for VisibleInstGraph
Source§fn default() -> VisibleInstGraph
fn default() -> VisibleInstGraph
Returns the “default value” for a type. Read more
Source§impl Index<VisibleEdgeIndex> for VisibleInstGraph
impl Index<VisibleEdgeIndex> for VisibleInstGraph
Source§type Output = VisibleEdge
type Output = VisibleEdge
The returned type after indexing.
Source§impl Index<VisibleNodeIndex> for VisibleInstGraph
impl Index<VisibleNodeIndex> for VisibleInstGraph
Source§type Output = VisibleNode
type Output = VisibleNode
The returned type after indexing.
Source§impl IndexMut<VisibleEdgeIndex> for VisibleInstGraph
impl IndexMut<VisibleEdgeIndex> for VisibleInstGraph
Source§impl IndexMut<VisibleNodeIndex> for VisibleInstGraph
impl IndexMut<VisibleNodeIndex> for VisibleInstGraph
Auto Trait Implementations§
impl Freeze for VisibleInstGraph
impl RefUnwindSafe for VisibleInstGraph
impl Send for VisibleInstGraph
impl Sync for VisibleInstGraph
impl Unpin for VisibleInstGraph
impl UnwindSafe for VisibleInstGraph
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