Enum syntax::ast::MacStmtStyle
[−]
[src]
pub enum MacStmtStyle {
Semicolon,
Braces,
NoBraces,
}🔬 This is a nightly-only experimental API. (
rustc_private)Variants
Semicolon🔬 This is a nightly-only experimental API. (
rustc_private)The macro statement had a trailing semicolon, e.g. foo! { ... };
foo!(...);, foo![...];
Braces🔬 This is a nightly-only experimental API. (
rustc_private)The macro statement had braces; e.g. foo! { ... }
NoBraces🔬 This is a nightly-only experimental API. (
rustc_private)The 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 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
impl Copy 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 Eq for MacStmtStyle[src]
impl Encodable for MacStmtStyle[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private)
deprecated in favor of rustc-serialize on crates.io
impl Decodable for MacStmtStyle[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<MacStmtStyle, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private)
deprecated in favor of rustc-serialize on crates.io
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.