pub struct FirstSet {
pub symbols: BitSet,
pub has_epsilon: bool,
}Expand description
The first set of a nonterminal.
Fields§
§symbols: BitSetThe first symbols.
has_epsilon: boolWhether one of the productions is empty.
Trait Implementations§
impl Eq for FirstSet
impl StructuralPartialEq for FirstSet
Auto Trait Implementations§
impl Freeze for FirstSet
impl RefUnwindSafe for FirstSet
impl Send for FirstSet
impl Sync for FirstSet
impl Unpin for FirstSet
impl UnwindSafe for FirstSet
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.