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