Struct syn::ForeignItemVerbatim [−][src]
pub struct ForeignItemVerbatim {
pub tts: TokenStream,
}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
impl ToTokens for ForeignItemVerbatim[src]
impl ToTokens for ForeignItemVerbatimfn to_tokens(&self, tokens: &mut Tokens)[src]
fn to_tokens(&self, tokens: &mut Tokens)Write self to the given Tokens. Read more
fn into_tokens(self) -> Tokens[src]
fn into_tokens(self) -> TokensConvert self directly into a Tokens object. Read more
impl Clone for ForeignItemVerbatim[src]
impl Clone for ForeignItemVerbatimfn clone(&self) -> ForeignItemVerbatim[src]
fn clone(&self) -> ForeignItemVerbatimReturns 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<ForeignItemVerbatim> for ForeignItem[src]
impl From<ForeignItemVerbatim> for ForeignItemfn from(e: ForeignItemVerbatim) -> ForeignItem[src]
fn from(e: ForeignItemVerbatim) -> ForeignItemPerforms the conversion.
Auto Trait Implementations
impl !Send for ForeignItemVerbatim
impl !Send for ForeignItemVerbatimimpl !Sync for ForeignItemVerbatim
impl !Sync for ForeignItemVerbatim