Enum syntax::ast::CaptureClauseUnstable
[-] [+]
[src]
pub enum CaptureClause {
CaptureByValue,
CaptureByRef,
}Variants
CaptureByValue | |
CaptureByRef |
pub enum CaptureClause {
CaptureByValue,
CaptureByRef,
}CaptureByValue | |
CaptureByRef |
impl Copy for CaptureClauseimpl Debug for CaptureClauseimpl Hash for CaptureClausefn hash<__H: Hasher>(&self, __arg_0: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasherimpl Decodable for CaptureClausefn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<CaptureClause, __D>impl Encodable for CaptureClauseimpl Eq for CaptureClauseimpl PartialEq for CaptureClausefn eq(&self, __arg_0: &CaptureClause) -> boolfn ne(&self, __arg_0: &CaptureClause) -> boolimpl Clone for CaptureClausefn clone(&self) -> CaptureClausefn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).