Enum rustc_resolve::late::PatternSource
source · pub enum PatternSource {
Match,
Let,
For,
FnParam,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for PatternSource
impl Clone for PatternSource
source§fn clone(&self) -> PatternSource
fn clone(&self) -> PatternSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PatternSource
impl Debug for PatternSource
source§impl IntoDiagnosticArg for PatternSource
impl IntoDiagnosticArg for PatternSource
fn into_diagnostic_arg(self) -> DiagnosticArgValue<'static>
source§impl PartialEq<PatternSource> for PatternSource
impl PartialEq<PatternSource> for PatternSource
source§fn eq(&self, other: &PatternSource) -> bool
fn eq(&self, other: &PatternSource) -> bool
impl Copy for PatternSource
impl Eq for PatternSource
impl StructuralEq for PatternSource
impl StructuralPartialEq for PatternSource
Auto Trait Implementations§
impl RefUnwindSafe for PatternSource
impl Send for PatternSource
impl Sync for PatternSource
impl Unpin for PatternSource
impl UnwindSafe for PatternSource
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Match
: 0 bytesLet
: 0 bytesFor
: 0 bytesFnParam
: 0 bytes