Trait exprz::Group [−][src]
Expression Group
Trait
Associated Types
type Ref: GroupReference<E>
[src]
Group
Reference Type
Required methods
Loading content...Provided methods
fn size_hint(&self) -> (usize, Option<usize>)
[src]
Returns a size hint for the underlying iterator.
fn len(&self) -> Option<usize>
[src]
Returns the length of the group if it is known exactly.
fn is_empty(&self) -> bool
[src]
Returns true
if the length of the group is known to be exactly zero.
fn empty() -> E::Group where
E::Group: FromIterator<E>,
[src]
E::Group: FromIterator<E>,
Builds an empty group.
fn clone(&self) -> E::Group where
E::Atom: Clone,
E::Group: FromIterator<E>,
[src]
E::Atom: Clone,
E::Group: FromIterator<E>,
Returns a cloned expression group.
fn substitute<F>(self, f: F) -> E::Group where
Self: Sized + IntoIterator<Item = E>,
E::Group: FromIterator<E> + IntoIterator<Item = E>,
F: FnMut(E::Atom) -> E,
[src]
Self: Sized + IntoIterator<Item = E>,
E::Group: FromIterator<E> + IntoIterator<Item = E>,
F: FnMut(E::Atom) -> E,
Performs substitution over the Group
.
fn substitute_ref<F>(&self, f: F) -> E::Group where
E::Group: FromIterator<E>,
F: FnMut(&E::Atom) -> E,
[src]
E::Group: FromIterator<E>,
F: FnMut(&E::Atom) -> E,
Performs substitution over the Group
by reference.
Implementations on Foreign Types
impl<E> Group<E> for [E] where
E: Expression,
[src]
E: Expression,
impl<E> Group<E> for Vec<E> where
E: Expression,
[src]
E: Expression,
This is supported on crate feature
alloc
only.impl<A, G> Group<MultiExpr<A, G>> for (Vec<MultiExpr<A, G>>, G)
[src]
This is supported on crate features
multi
and alloc
only.Implementors
impl<T> Group<Expr<T, usize, usize>> for ExprGroup<T>
[src]
This is supported on crate feature
buffered
only.