pub enum GrammarState {
Admissible = 0,
Boundary = 1,
Violation = 2,
}Expand description
Grammar state — Paper §5.5
Variants§
Admissible = 0
Within envelope, drift inward or bounded. Normal operation.
Boundary = 1
Approaching envelope with sustained outward drift. Early-warning.
Violation = 2
Exited envelope. Structural fault / actionable incident.
Trait Implementations§
Source§impl Clone for GrammarState
impl Clone for GrammarState
Source§fn clone(&self) -> GrammarState
fn clone(&self) -> GrammarState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GrammarState
impl Debug for GrammarState
Source§impl Ord for GrammarState
impl Ord for GrammarState
Source§fn cmp(&self, other: &GrammarState) -> Ordering
fn cmp(&self, other: &GrammarState) -> Ordering
1.21.0 (const: unstable) · 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 GrammarState
impl PartialEq for GrammarState
Source§fn eq(&self, other: &GrammarState) -> bool
fn eq(&self, other: &GrammarState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GrammarState
impl PartialOrd for GrammarState
impl Copy for GrammarState
impl Eq for GrammarState
impl StructuralPartialEq for GrammarState
Auto Trait Implementations§
impl Freeze for GrammarState
impl RefUnwindSafe for GrammarState
impl Send for GrammarState
impl Sync for GrammarState
impl Unpin for GrammarState
impl UnsafeUnpin for GrammarState
impl UnwindSafe for GrammarState
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