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