Enum syntax::ast::CaptureClauseUnstable
[-] [+]
[src]
pub enum CaptureClause { CaptureByValue, CaptureByRef, }
Variants
CaptureByValue | |
CaptureByRef |
pub enum CaptureClause { CaptureByValue, CaptureByRef, }
CaptureByValue | |
CaptureByRef |
impl Copy for CaptureClause
impl Debug for CaptureClause
impl Hash for CaptureClause
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl Decodable for CaptureClause
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<CaptureClause, Error>
impl Encodable for CaptureClause
impl Eq for CaptureClause
fn assert_receiver_is_total_eq(&self)
impl PartialEq for CaptureClause
fn eq(&self, __arg_0: &CaptureClause) -> bool
fn ne(&self, __arg_0: &CaptureClause) -> bool
impl Clone for CaptureClause
fn clone(&self) -> CaptureClause
fn 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
).