Enum rustc::ty::adjustment::AutoAdjustment [] [src]

pub enum AutoAdjustment<'tcx> {
    AdjustReifyFnPointer,
    AdjustUnsafeFnPointer,
    AdjustMutToConstPointer,
    AdjustDerefRef(AutoDerefRef<'tcx>),
}
Unstable (rustc_private)

Variants

AdjustReifyFnPointer
Unstable (rustc_private)
AdjustUnsafeFnPointer
Unstable (rustc_private)
AdjustMutToConstPointer
Unstable (rustc_private)
AdjustDerefRef(AutoDerefRef<'tcx>)
Unstable (rustc_private)

Methods

impl<'tcx> AutoAdjustment<'tcx>
[src]

fn is_identity(&self) -> bool

Trait Implementations

impl<'tcx> Debug for AutoAdjustment<'tcx>
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

Derived Implementations

impl<'tcx> Clone for AutoAdjustment<'tcx>
[src]

fn clone(&self) -> AutoAdjustment<'tcx>

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

impl<'tcx> Copy for AutoAdjustment<'tcx>
[src]