pub struct ImplItemVerbatim {
pub tts: TokenStream,
}
Expand description
Tokens within an impl block 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 ImplItemVerbatim
impl Clone for ImplItemVerbatim
Source§fn clone(&self) -> ImplItemVerbatim
fn clone(&self) -> ImplItemVerbatim
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 ImplItemVerbatim
impl Debug for ImplItemVerbatim
Source§impl From<ImplItemVerbatim> for ImplItem
impl From<ImplItemVerbatim> for ImplItem
Source§fn from(e: ImplItemVerbatim) -> ImplItem
fn from(e: ImplItemVerbatim) -> ImplItem
Converts to this type from the input type.
Source§impl Hash for ImplItemVerbatim
impl Hash for ImplItemVerbatim
Source§impl PartialEq for ImplItemVerbatim
impl PartialEq for ImplItemVerbatim
Source§impl ToTokens for ImplItemVerbatim
impl ToTokens for ImplItemVerbatim
impl Eq for ImplItemVerbatim
Auto Trait Implementations§
impl Freeze for ImplItemVerbatim
impl RefUnwindSafe for ImplItemVerbatim
impl !Send for ImplItemVerbatim
impl !Sync for ImplItemVerbatim
impl Unpin for ImplItemVerbatim
impl UnwindSafe for ImplItemVerbatim
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.