Enum syntex_syntax::ast::MacStmtStyle  
                   
                       [−]
                   
               [src]
pub enum MacStmtStyle {
    MacStmtWithSemicolon,
    MacStmtWithBraces,
    MacStmtWithoutBraces,
}Variants
MacStmtWithSemicolonThe macro statement had a trailing semicolon, e.g. foo! { ... };
foo!(...);, foo![...];
MacStmtWithBracesThe macro statement had braces; e.g. foo! { ... }
MacStmtWithoutBracesThe macro statement had parentheses or brackets and no semicolon; e.g.
foo!(...). All of these will end up being converted into macro
expressions.
Trait Implementations
impl Debug for MacStmtStyle[src]
impl Hash for MacStmtStyle[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Decodable for MacStmtStyle[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<MacStmtStyle, __D::Error>
impl Encodable for MacStmtStyle[src]
impl Eq for MacStmtStyle[src]
impl PartialEq for MacStmtStyle[src]
fn eq(&self, __arg_0: &MacStmtStyle) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for MacStmtStyle[src]
impl Clone for MacStmtStyle[src]
fn clone(&self) -> MacStmtStyle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more