Enum rustc::hir::MatchSource
[−]
[src]
pub enum MatchSource {
Normal,
IfLetDesugar {
contains_else_clause: bool,
},
WhileLetDesugar,
ForLoopDesugar,
TryDesugar,
}Unstable (
rustc_private)Variants
NormalUnstable (
rustc_private)IfLetDesugarUnstable (
rustc_private)Fields
contains_else_clause: bool | Unstable ( rustc_private) |
WhileLetDesugarUnstable (
rustc_private)ForLoopDesugarUnstable (
rustc_private)TryDesugarUnstable (
rustc_private)Trait Implementations
Derived Implementations
impl Copy for MatchSource[src]
impl Debug for MatchSource[src]
impl Hash for MatchSource[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.
impl Decodable for MatchSource[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<MatchSource, __D::Error>
impl Encodable for MatchSource[src]
impl Eq for MatchSource[src]
impl PartialEq for MatchSource[src]
fn eq(&self, __arg_0: &MatchSource) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &MatchSource) -> bool
This method tests for !=.
impl Clone for MatchSource[src]
fn clone(&self) -> MatchSource
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