[−][src]Struct egg::egraph::EClass
Fields
id: Id
Methods
impl<L: Language, M> EClass<L, M>
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn len(&self) -> usize
[src]
pub fn iter(&self) -> impl ExactSizeIterator<Item = &Expr<L, Id>>
[src]
Trait Implementations
impl<L: Clone + Language, M: Clone> Clone for EClass<L, M>
[src]
fn clone(&self) -> EClass<L, M>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<L: Debug + Language, M: Debug> Debug for EClass<L, M>
[src]
Auto Trait Implementations
impl<L, M> Send for EClass<L, M> where
M: Send,
<L as Language>::Constant: Send,
<L as Language>::Operator: Send,
<L as Language>::Variable: Send,
M: Send,
<L as Language>::Constant: Send,
<L as Language>::Operator: Send,
<L as Language>::Variable: Send,
impl<L, M> Sync for EClass<L, M> where
M: Sync,
<L as Language>::Constant: Sync,
<L as Language>::Operator: Sync,
<L as Language>::Variable: Sync,
M: Sync,
<L as Language>::Constant: Sync,
<L as Language>::Operator: Sync,
<L as Language>::Variable: Sync,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,