Enum syntex_syntax::ast::MacStmtStyle
[−]
[src]
pub enum MacStmtStyle { MacStmtWithSemicolon, MacStmtWithBraces, MacStmtWithoutBraces, }
Variants
MacStmtWithSemicolon | The macro statement had a trailing semicolon, e.g. | |
MacStmtWithBraces | The macro statement had braces; e.g. foo! { ... } | |
MacStmtWithoutBraces | The macro statement had parentheses or brackets and no semicolon; e.g.
|
Trait Implementations
Derived 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: Hasher
1.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) -> bool
1.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