Enum passerine::compiler::ast::ArgPattern [−][src]
pub enum ArgPattern {
Keyword(String),
Symbol(String),
Group(Vec<Spanned<ArgPattern>>),
}
Expand description
Represents an argument pattern, i.e. the mini language used to match macros.
Variants
Keyword(String)
Tuple Fields of Keyword
0: String
Symbol(String)
Tuple Fields of Symbol
0: String
Group(Vec<Spanned<ArgPattern>>)
Tuple Fields of Group
0: Vec<Spanned<ArgPattern>>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for ArgPattern
impl !Send for ArgPattern
impl !Sync for ArgPattern
impl Unpin for ArgPattern
impl UnwindSafe for ArgPattern
Blanket Implementations
Mutably borrows from an owned value. Read more