pub struct LitVerbatim {
pub token: Literal,
}Expand description
A raw token literal not interpreted by Syn, possibly because it represents an integer larger than 64 bits.
This type is available if Syn is built with the "derive" or
"full" feature.
Fields§
§token: LiteralImplementations§
Trait Implementations§
Source§impl Clone for LitVerbatim
impl Clone for LitVerbatim
Source§fn clone(&self) -> LitVerbatim
fn clone(&self) -> LitVerbatim
Returns a duplicate 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 LitVerbatim
impl Debug for LitVerbatim
Source§impl From<LitVerbatim> for Lit
impl From<LitVerbatim> for Lit
Source§fn from(e: LitVerbatim) -> Lit
fn from(e: LitVerbatim) -> Lit
Converts to this type from the input type.
Source§impl Hash for LitVerbatim
Available on crate feature extra-traits only.
impl Hash for LitVerbatim
Available on crate feature
extra-traits only.Source§impl PartialEq for LitVerbatim
Available on crate feature extra-traits only.
impl PartialEq for LitVerbatim
Available on crate feature
extra-traits only.Source§impl ToTokens for LitVerbatim
impl ToTokens for LitVerbatim
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Eq for LitVerbatim
Available on crate feature
extra-traits only.Auto Trait Implementations§
impl Freeze for LitVerbatim
impl RefUnwindSafe for LitVerbatim
impl !Send for LitVerbatim
impl !Sync for LitVerbatim
impl Unpin for LitVerbatim
impl UnwindSafe for LitVerbatim
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<T> Spanned for Twhere
T: ToTokens,
impl<T> Spanned for Twhere
T: ToTokens,
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty.