Skip to main content

EGraphMut

Struct EGraphMut 

Source
pub struct EGraphMut<'a, F: Eq + Hash, C, T: EGraphTrace<F, C>, S: Clone + BuildHasher> { /* private fields */ }

Trait Implementations§

Source§

impl<F: Debug + Eq + Hash, C, T: Debug + EGraphTrace<F, C>, S: Clone + BuildHasher> Debug for EGraphMut<'_, F, C, T, S>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<F: Eq + Hash, C, T: EGraphTrace<F, C>, S: Clone + BuildHasher> Drop for EGraphMut<'_, F, C, T, S>

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

fn pin_drop(self: Pin<&mut Self>)

🔬This is a nightly-only experimental API. (pin_ergonomics)
Execute the destructor for this type, but different to Drop::drop, it requires self to be pinned. Read more
Source§

impl<F: Eq + Hash, C, T: EGraphTrace<F, C>, S: Clone + BuildHasher> EGraphCore for EGraphMut<'_, F, C, T, S>

Source§

type Class = C

Source§

type FuncSymbol = F

Source§

fn add(&mut self, node: ENode<F, C>) -> Result<ClassId<C>, NoNode>

Source§

impl<F: Eq + Hash, C, T: EGraphTrace<F, C>, S: Clone + BuildHasher> EGraphWrite for EGraphMut<'_, F, C, T, S>

Source§

fn merge(&mut self, a: ClassId<C>, b: ClassId<C>) -> Result<Unioned<C>, NoNode>

Auto Trait Implementations§

§

impl<'a, F, C, T, S> !UnwindSafe for EGraphMut<'a, F, C, T, S>

§

impl<'a, F, C, T, S> Freeze for EGraphMut<'a, F, C, T, S>
where &'a mut EGraph<F, C, S>: Freeze, HashMap<ClassId<C>, HashSet<ClassId<C>, S>, S>: Freeze, T: Freeze,

§

impl<'a, F, C, T, S> RefUnwindSafe for EGraphMut<'a, F, C, T, S>
where &'a mut EGraph<F, C, S>: RefUnwindSafe, HashMap<ClassId<C>, HashSet<ClassId<C>, S>, S>: RefUnwindSafe, T: RefUnwindSafe,

§

impl<'a, F, C, T, S> Send for EGraphMut<'a, F, C, T, S>
where &'a mut EGraph<F, C, S>: Send, HashMap<ClassId<C>, HashSet<ClassId<C>, S>, S>: Send, T: Send,

§

impl<'a, F, C, T, S> Sync for EGraphMut<'a, F, C, T, S>
where &'a mut EGraph<F, C, S>: Sync, HashMap<ClassId<C>, HashSet<ClassId<C>, S>, S>: Sync, T: Sync,

§

impl<'a, F, C, T, S> Unpin for EGraphMut<'a, F, C, T, S>
where &'a mut EGraph<F, C, S>: Unpin, HashMap<ClassId<C>, HashSet<ClassId<C>, S>, S>: Unpin, T: Unpin,

§

impl<'a, F, C, T, S> UnsafeUnpin for EGraphMut<'a, F, C, T, S>
where &'a mut EGraph<F, C, S>: UnsafeUnpin, HashMap<ClassId<C>, HashSet<ClassId<C>, S>, S>: UnsafeUnpin, T: UnsafeUnpin,

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.