Skip to main content

MatchRow

Struct MatchRow 

Source
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>

Source§

fn get(&self, v: VarId) -> Cfg::G

Source§

fn get_mult(&self, v: MultVarId) -> Cfg::M

Source§

fn get_lit_val(&self, v: LitValVarId) -> Cfg::V

Source§

fn seq_slice(&self, v: SeqVarId) -> &[Cfg::G]

Source§

fn set_slice(&self, v: SetVarId) -> &[Cfg::G]

Source§

fn mset_slice(&self, v: MsetVarId) -> &[Cfg::C]

Auto Trait Implementations§

§

impl<'a, Cfg> Freeze for MatchRow<'a, Cfg>
where &'a MatchSet<Cfg>: Freeze,

§

impl<'a, Cfg> RefUnwindSafe for MatchRow<'a, Cfg>
where &'a MatchSet<Cfg>: RefUnwindSafe,

§

impl<'a, Cfg> Send for MatchRow<'a, Cfg>
where &'a MatchSet<Cfg>: Send,

§

impl<'a, Cfg> Sync for MatchRow<'a, Cfg>
where &'a MatchSet<Cfg>: Sync,

§

impl<'a, Cfg> Unpin for MatchRow<'a, Cfg>
where &'a MatchSet<Cfg>: Unpin,

§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.