pub enum LanguageCardinality {
Finite(usize),
Infinite,
TooLarge,
}Expand description
Cardinality of an explicit automaton’s derivation-tree language.
Variants§
Finite(usize)
The language contains exactly this many derivation trees.
Infinite
A productive cycle makes the language infinite.
TooLarge
The finite count exceeds the platform’s usize range.
Trait Implementations§
Source§impl Clone for LanguageCardinality
impl Clone for LanguageCardinality
Source§fn clone(&self) -> LanguageCardinality
fn clone(&self) -> LanguageCardinality
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 moreimpl Copy for LanguageCardinality
Source§impl Debug for LanguageCardinality
impl Debug for LanguageCardinality
impl Eq for LanguageCardinality
Source§impl PartialEq for LanguageCardinality
impl PartialEq for LanguageCardinality
Source§fn eq(&self, other: &LanguageCardinality) -> bool
fn eq(&self, other: &LanguageCardinality) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LanguageCardinality
Auto Trait Implementations§
impl Freeze for LanguageCardinality
impl RefUnwindSafe for LanguageCardinality
impl Send for LanguageCardinality
impl Sync for LanguageCardinality
impl Unpin for LanguageCardinality
impl UnsafeUnpin for LanguageCardinality
impl UnwindSafe for LanguageCardinality
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.