pub enum YaccOriginalActionKind {
UserAction,
GenericParseTree,
NoAction,
}
Variants§
UserAction
Execute user-specified actions attached to each production; also requires a %actiontype declaration.
GenericParseTree
Automatically create a parse tree instead of user-specified actions.
NoAction
Do not do execute actions of any sort.
Trait Implementations§
Source§impl Clone for YaccOriginalActionKind
impl Clone for YaccOriginalActionKind
Source§fn clone(&self) -> YaccOriginalActionKind
fn clone(&self) -> YaccOriginalActionKind
Returns a copy 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 YaccOriginalActionKind
impl Debug for YaccOriginalActionKind
Source§impl PartialEq for YaccOriginalActionKind
impl PartialEq for YaccOriginalActionKind
Source§impl ToTokens for YaccOriginalActionKind
impl ToTokens for YaccOriginalActionKind
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Copy for YaccOriginalActionKind
impl Eq for YaccOriginalActionKind
impl StructuralPartialEq for YaccOriginalActionKind
Auto Trait Implementations§
impl Freeze for YaccOriginalActionKind
impl RefUnwindSafe for YaccOriginalActionKind
impl Send for YaccOriginalActionKind
impl Sync for YaccOriginalActionKind
impl Unpin for YaccOriginalActionKind
impl UnwindSafe for YaccOriginalActionKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.