Struct syn::ImplItemVerbatim [−][src]
pub struct ImplItemVerbatim { pub tts: TokenStream, }
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
impl ToTokens for ImplItemVerbatim
[src]
impl ToTokens for ImplItemVerbatim
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn to_tokens(&self, tokens: &mut TokenStream)
Write self
to the given TokenStream
. Read more
fn into_token_stream(self) -> TokenStream
[src]
fn into_token_stream(self) -> TokenStream
Convert self
directly into a TokenStream
object. Read more
impl Debug for ImplItemVerbatim
[src]
impl Debug for ImplItemVerbatim
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ImplItemVerbatim
[src]
impl Clone for ImplItemVerbatim
fn clone(&self) -> ImplItemVerbatim
[src]
fn clone(&self) -> ImplItemVerbatim
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl From<ImplItemVerbatim> for ImplItem
[src]
impl From<ImplItemVerbatim> for ImplItem
fn from(e: ImplItemVerbatim) -> ImplItem
[src]
fn from(e: ImplItemVerbatim) -> ImplItem
Performs the conversion.
impl Eq for ImplItemVerbatim
[src]
impl Eq for ImplItemVerbatim
impl PartialEq for ImplItemVerbatim
[src]
impl PartialEq for ImplItemVerbatim
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for ImplItemVerbatim
[src]
impl Hash for ImplItemVerbatim
Auto Trait Implementations
impl !Send for ImplItemVerbatim
impl !Send for ImplItemVerbatim
impl !Sync for ImplItemVerbatim
impl !Sync for ImplItemVerbatim