pub enum ControlKind {
SequenceStart,
GroupStart(Delimiter),
}Expand description
A specific variant of control rule.
Variants§
SequenceStart
Start of a sequence rule, beginning with < and ending with >.
GroupStart(Delimiter)
Start of a group rule, beginning with one of (, [, or {, and ending with, respectively, ), ], or }.
Trait Implementations§
Source§impl Clone for ControlKind
impl Clone for ControlKind
Source§fn clone(&self) -> ControlKind
fn clone(&self) -> ControlKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ControlKind
impl Debug for ControlKind
Source§impl Hash for ControlKind
impl Hash for ControlKind
Source§impl Ord for ControlKind
impl Ord for ControlKind
Source§fn cmp(&self, other: &ControlKind) -> Ordering
fn cmp(&self, other: &ControlKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ControlKind
impl PartialEq for ControlKind
Source§impl PartialOrd for ControlKind
impl PartialOrd for ControlKind
impl Copy for ControlKind
impl Eq for ControlKind
impl StructuralPartialEq for ControlKind
Auto Trait Implementations§
impl Freeze for ControlKind
impl RefUnwindSafe for ControlKind
impl Send for ControlKind
impl Sync for ControlKind
impl Unpin for ControlKind
impl UnsafeUnpin for ControlKind
impl UnwindSafe for ControlKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more