pub struct PatVerbatim {
pub tts: TokenStream,
}
Expand description
Tokens in pattern position not interpreted by Syn.
This type is available if Syn is built with the "full"
feature.
Fields§
§tts: TokenStream
Trait Implementations§
Source§impl Clone for PatVerbatim
impl Clone for PatVerbatim
Source§fn clone(&self) -> PatVerbatim
fn clone(&self) -> PatVerbatim
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 PatVerbatim
impl Debug for PatVerbatim
Source§impl From<PatVerbatim> for Pat
impl From<PatVerbatim> for Pat
Source§fn from(e: PatVerbatim) -> Pat
fn from(e: PatVerbatim) -> Pat
Converts to this type from the input type.
Source§impl Hash for PatVerbatim
impl Hash for PatVerbatim
Source§impl PartialEq for PatVerbatim
impl PartialEq for PatVerbatim
Source§impl ToTokens for PatVerbatim
impl ToTokens for PatVerbatim
impl Eq for PatVerbatim
Auto Trait Implementations§
impl Freeze for PatVerbatim
impl RefUnwindSafe for PatVerbatim
impl !Send for PatVerbatim
impl !Sync for PatVerbatim
impl Unpin for PatVerbatim
impl UnwindSafe for PatVerbatim
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.