pub enum TaggedStatementOptValue {
Identifier(Tag<Name>),
Constant(Tag<Constant>),
Map(Tag<TaggedMapLiteral>),
}
Variants§
Trait Implementations§
Source§impl Clone for TaggedStatementOptValue
impl Clone for TaggedStatementOptValue
Source§fn clone(&self) -> TaggedStatementOptValue
fn clone(&self) -> TaggedStatementOptValue
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for TaggedStatementOptValue
impl<'a> CustomToTokens<'a> for TaggedStatementOptValue
Source§impl Debug for TaggedStatementOptValue
impl Debug for TaggedStatementOptValue
Source§impl Display for TaggedStatementOptValue
impl Display for TaggedStatementOptValue
Source§impl From<Tag<TaggedMapLiteral>> for TaggedStatementOptValue
impl From<Tag<TaggedMapLiteral>> for TaggedStatementOptValue
Source§fn from(original: Tag<TaggedMapLiteral>) -> TaggedStatementOptValue
fn from(original: Tag<TaggedMapLiteral>) -> TaggedStatementOptValue
Converts to this type from the input type.
Source§impl FromStr for TaggedStatementOptValue
impl FromStr for TaggedStatementOptValue
Source§impl Parse for TaggedStatementOptValue
impl Parse for TaggedStatementOptValue
type Output = TaggedStatementOptValue
fn parse(s: &mut StatementStream<'_>) -> Result<Self>
Source§impl PartialEq for TaggedStatementOptValue
impl PartialEq for TaggedStatementOptValue
Source§fn eq(&self, other: &TaggedStatementOptValue) -> bool
fn eq(&self, other: &TaggedStatementOptValue) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ToTokens for TaggedStatementOptValue
impl ToTokens for TaggedStatementOptValue
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 Eq for TaggedStatementOptValue
impl StructuralPartialEq for TaggedStatementOptValue
Auto Trait Implementations§
impl Freeze for TaggedStatementOptValue
impl RefUnwindSafe for TaggedStatementOptValue
impl Send for TaggedStatementOptValue
impl Sync for TaggedStatementOptValue
impl Unpin for TaggedStatementOptValue
impl UnwindSafe for TaggedStatementOptValue
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