pub struct AutomatonSummary {
pub rule_count: usize,
pub state_count: u32,
pub maximum_rank: usize,
pub is_empty: bool,
}Expand description
A read-only summary of an explicit automaton.
Fields§
§rule_count: usizeNumber of transition rules.
state_count: u32Number of allocated states.
maximum_rank: usizeLargest child count of any rule.
is_empty: boolWhether the accepted language is empty.
Trait Implementations§
Source§impl Clone for AutomatonSummary
impl Clone for AutomatonSummary
Source§fn clone(&self) -> AutomatonSummary
fn clone(&self) -> AutomatonSummary
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 AutomatonSummary
impl Debug for AutomatonSummary
impl Eq for AutomatonSummary
Source§impl PartialEq for AutomatonSummary
impl PartialEq for AutomatonSummary
Source§fn eq(&self, other: &AutomatonSummary) -> bool
fn eq(&self, other: &AutomatonSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AutomatonSummary
Auto Trait Implementations§
impl Freeze for AutomatonSummary
impl RefUnwindSafe for AutomatonSummary
impl Send for AutomatonSummary
impl Sync for AutomatonSummary
impl Unpin for AutomatonSummary
impl UnsafeUnpin for AutomatonSummary
impl UnwindSafe for AutomatonSummary
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.