Enum rustc_typeck::check::pat::AdjustMode [−][src]
enum AdjustMode {
Peel,
Reset,
Pass,
}
Expand description
Mode for adjusting the expected type and binding mode.
Variants
Peel off all immediate reference types.
Reset binding mode to the initial mode.
Pass on the input binding mode and expected type.
Auto Trait Implementations
impl RefUnwindSafe for AdjustMode
impl Send for AdjustMode
impl Sync for AdjustMode
impl Unpin for AdjustMode
impl UnwindSafe for AdjustMode
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:
Peel
: 0 bytesReset
: 0 bytesPass
: 0 bytes