Enum syntax_pos::hygiene::ExpnFormat  [−][src]
pub enum ExpnFormat {
    MacroAttribute(Symbol),
    MacroBang(Symbol),
    CompilerDesugaring(CompilerDesugaringKind),
}The source of expansion.
Variants
MacroAttribute(Symbol)e.g. #[derive(...)] 
MacroBang(Symbol)e.g. format!()
CompilerDesugaring(CompilerDesugaringKind)Desugaring done by the compiler during HIR lowering.
Methods
impl ExpnFormat[src] 
                impl ExpnFormatTrait Implementations
impl Clone for ExpnFormat[src] 
impl Clone for ExpnFormatfn clone(&self) -> ExpnFormat[src] 
fn clone(&self) -> ExpnFormatReturns 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 Hash for ExpnFormat[src] 
impl Hash for ExpnFormatfn hash<__H: Hasher>(&self, state: &mut __H)[src] 
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0[src] 
fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for ExpnFormat[src] 
impl Debug for ExpnFormatfn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ExpnFormat[src] 
impl PartialEq for ExpnFormatfn eq(&self, other: &ExpnFormat) -> bool[src] 
fn eq(&self, other: &ExpnFormat) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ExpnFormat) -> bool[src] 
fn ne(&self, other: &ExpnFormat) -> boolThis method tests for !=.
impl Eq for ExpnFormat[src] 
impl Eq for ExpnFormatimpl Encodable for ExpnFormat[src] 
impl Encodable for ExpnFormatimpl Decodable for ExpnFormat[src] 
impl Decodable for ExpnFormatAuto Trait Implementations
impl !Send for ExpnFormat
impl !Send for ExpnFormatimpl !Sync for ExpnFormat
impl !Sync for ExpnFormat