pub struct Group {
pub filters: Vec<Selector>,
pub root: Option<()>,
pub selectors: Vec<Selector>,
pub spread: Option<()>,
pub truncate: Option<()>,
}
Expand description
A Group is a set of grammar elements used to define a selection.
Fields
filters: Vec<Selector>
Filters.
root: Option<()>
Root marker.
selectors: Vec<Selector>
Selectors.
spread: Option<()>
Spread marker.
truncate: Option<()>
Truncate marker.
Implementations
Trait Implementations
impl Eq for Group
impl StructuralEq for Group
impl StructuralPartialEq for Group
Auto Trait Implementations
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.