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: TokenStreamTrait 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 (const: unstable) · 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
impl Eq for PatVerbatim
Available on crate features
extra-traits and full only.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
Available on crate features extra-traits and full only.
impl Hash for PatVerbatim
Available on crate features
extra-traits and full only.Source§impl PartialEq for PatVerbatim
Available on crate features extra-traits and full only.
impl PartialEq for PatVerbatim
Available on crate features
extra-traits and full only.Auto Trait Implementations§
impl !Send for PatVerbatim
impl !Sync for PatVerbatim
impl Freeze for PatVerbatim
impl RefUnwindSafe for PatVerbatim
impl Unpin for PatVerbatim
impl UnsafeUnpin 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.