pub struct MatchRow<'a, Cfg: EGraphConfig> { /* private fields */ }Expand description
One match of a MatchSet, by row index.
Trait Implementations§
Source§impl<'a, Cfg: EGraphConfig> MatchView<Cfg> for MatchRow<'a, Cfg>
impl<'a, Cfg: EGraphConfig> MatchView<Cfg> for MatchRow<'a, Cfg>
fn get(&self, v: VarId) -> Cfg::G
fn get_mult(&self, v: MultVarId) -> Cfg::M
fn get_lit_val(&self, v: LitValVarId) -> Cfg::V
fn seq_slice(&self, v: SeqVarId) -> &[Cfg::G]
fn set_slice(&self, v: SetVarId) -> &[Cfg::G]
fn mset_slice(&self, v: MsetVarId) -> &[Cfg::C]
Auto Trait Implementations§
impl<'a, Cfg> Freeze for MatchRow<'a, Cfg>
impl<'a, Cfg> RefUnwindSafe for MatchRow<'a, Cfg>where
&'a MatchSet<Cfg>: RefUnwindSafe,
impl<'a, Cfg> Send for MatchRow<'a, Cfg>
impl<'a, Cfg> Sync for MatchRow<'a, Cfg>
impl<'a, Cfg> Unpin for MatchRow<'a, Cfg>
impl<'a, Cfg> UnsafeUnpin for MatchRow<'a, Cfg>where
&'a MatchSet<Cfg>: UnsafeUnpin,
impl<'a, Cfg> UnwindSafe for MatchRow<'a, Cfg>where
&'a MatchSet<Cfg>: 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