pub struct SimplePath { /* private fields */ }
Implementations§
Source§impl SimplePath
impl SimplePath
pub fn edges_len(&self) -> NonZeroUsize
pub fn all_simple_edges<'a>( &'a self, egraph: &'a EGraph, stack: &'a Stack, ) -> impl DoubleEndedIterator<Item = (ENodeIdx, EqGivenIdx, bool)> + 'a
pub fn nodes_len(&self) -> usize
pub fn all_nodes(&self) -> impl DoubleEndedIterator<Item = ENodeIdx> + '_
pub fn node_at(&self, idx: usize) -> ENodeIdx
pub fn all_transitive<'a>( &'a self, egraph: &'a EGraph, ) -> impl DoubleEndedIterator<Item = impl Iterator<Item = EqTransIdx> + 'a> + 'a
pub fn initialise_graph<'a>(self, egraph: &'a EGraph, stack: &'a Stack) -> Graph
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimplePath
impl RefUnwindSafe for SimplePath
impl Send for SimplePath
impl Sync for SimplePath
impl Unpin for SimplePath
impl UnwindSafe for SimplePath
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