pub enum TaggedStatementOptValue {
Identifier(Tag<Name>),
Constant(Tag<Constant>),
Map(Tag<TaggedMapLiteral>),
}Variants
Identifier(Tag<Name>)
Constant(Tag<Constant>)
Map(Tag<TaggedMapLiteral>)
Trait Implementations
sourceimpl Clone for TaggedStatementOptValue
impl Clone for TaggedStatementOptValue
sourcefn clone(&self) -> TaggedStatementOptValue
fn clone(&self) -> TaggedStatementOptValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> CustomToTokens<'a> for TaggedStatementOptValue
impl<'a> CustomToTokens<'a> for TaggedStatementOptValue
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for TaggedStatementOptValue
impl Debug for TaggedStatementOptValue
sourceimpl Display for TaggedStatementOptValue
impl Display for TaggedStatementOptValue
sourceimpl From<Tag<Constant>> for TaggedStatementOptValue
impl From<Tag<Constant>> for TaggedStatementOptValue
sourcefn from(original: Tag<Constant>) -> TaggedStatementOptValue
fn from(original: Tag<Constant>) -> TaggedStatementOptValue
Converts to this type from the input type.
sourceimpl From<Tag<Name>> for TaggedStatementOptValue
impl From<Tag<Name>> for TaggedStatementOptValue
sourcefn from(original: Tag<Name>) -> TaggedStatementOptValue
fn from(original: Tag<Name>) -> TaggedStatementOptValue
Converts to this type from the input type.
sourceimpl From<Tag<TaggedMapLiteral>> for TaggedStatementOptValue
impl From<Tag<TaggedMapLiteral>> for TaggedStatementOptValue
sourcefn from(original: Tag<TaggedMapLiteral>) -> TaggedStatementOptValue
fn from(original: Tag<TaggedMapLiteral>) -> TaggedStatementOptValue
Converts to this type from the input type.
sourceimpl FromStr for TaggedStatementOptValue
impl FromStr for TaggedStatementOptValue
sourceimpl Parse for TaggedStatementOptValue
impl Parse for TaggedStatementOptValue
type Output = TaggedStatementOptValue
fn parse(s: &mut StatementStream<'_>) -> Result<Self>
sourceimpl PartialEq<TaggedStatementOptValue> for TaggedStatementOptValue
impl PartialEq<TaggedStatementOptValue> for TaggedStatementOptValue
sourcefn eq(&self, other: &TaggedStatementOptValue) -> bool
fn eq(&self, other: &TaggedStatementOptValue) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TaggedStatementOptValue) -> bool
fn ne(&self, other: &TaggedStatementOptValue) -> bool
This method tests for !=.
sourceimpl ToTokens for TaggedStatementOptValue
impl ToTokens for TaggedStatementOptValue
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
impl Eq for TaggedStatementOptValue
impl StructuralEq for TaggedStatementOptValue
impl StructuralPartialEq for TaggedStatementOptValue
Auto Trait Implementations
impl RefUnwindSafe for TaggedStatementOptValue
impl Send for TaggedStatementOptValue
impl Sync for TaggedStatementOptValue
impl Unpin for TaggedStatementOptValue
impl UnwindSafe for TaggedStatementOptValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more