Trait InverseModelMonoid
pub trait InverseModelMonoid<A, P, T>:
Default
+ Clone
+ IntoIterator<Item = (A, Predicate<P>)>
+ FromIterator<(A, Predicate<P>)>{
// Required methods
fn overwrite_(&mut self, rhs: Self);
fn default() -> Self;
fn is_empty(&self) -> bool;
fn len(&self) -> usize;
fn iter<'a>(&'a self) -> impl Iterator<Item = (&'a A, &'a Predicate<P>)>
where A: 'a,
P: 'a;
}Expand description
A monoid defined on the overwrite operator.
Required Methods§
fn overwrite_(&mut self, rhs: Self)
fn default() -> Self
fn is_empty(&self) -> bool
fn len(&self) -> usize
fn iter<'a>(&'a self) -> impl Iterator<Item = (&'a A, &'a Predicate<P>)>where
A: 'a,
P: 'a,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.