Struct syn::TraitItemVerbatim [−][src]
pub struct TraitItemVerbatim { pub tts: TokenStream, }
Tokens within the definition of a trait not interpreted by Syn.
This type is available if Syn is built with the "full"
feature.
Fields
tts: TokenStream
Trait Implementations
impl ToTokens for TraitItemVerbatim
[src]
impl ToTokens for TraitItemVerbatim
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 TraitItemVerbatim
[src]
impl Debug for TraitItemVerbatim
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 TraitItemVerbatim
[src]
impl Clone for TraitItemVerbatim
fn clone(&self) -> TraitItemVerbatim
[src]
fn clone(&self) -> TraitItemVerbatim
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<TraitItemVerbatim> for TraitItem
[src]
impl From<TraitItemVerbatim> for TraitItem
fn from(e: TraitItemVerbatim) -> TraitItem
[src]
fn from(e: TraitItemVerbatim) -> TraitItem
Performs the conversion.
impl Eq for TraitItemVerbatim
[src]
impl Eq for TraitItemVerbatim
impl PartialEq for TraitItemVerbatim
[src]
impl PartialEq for TraitItemVerbatim
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 TraitItemVerbatim
[src]
impl Hash for TraitItemVerbatim
Auto Trait Implementations
impl !Send for TraitItemVerbatim
impl !Send for TraitItemVerbatim
impl !Sync for TraitItemVerbatim
impl !Sync for TraitItemVerbatim