Enum rustc_resolve::late::PatternSource
source · pub enum PatternSource {
Match,
Let,
For,
FnParam,
}
Variants
Match
Let
For
FnParam
Implementations
sourceimpl PatternSource
impl PatternSource
Trait Implementations
sourceimpl Clone for PatternSource
impl Clone for PatternSource
sourcefn clone(&self) -> PatternSource
fn clone(&self) -> PatternSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PatternSource
impl Debug for PatternSource
sourceimpl PartialEq<PatternSource> for PatternSource
impl PartialEq<PatternSource> for PatternSource
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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