[−][src]Struct rustc_mir::transform::elaborate_drops::Elaborator
Fields
ctxt: &'a mut ElaborateDropsCtxt<'b, 'tcx>Trait Implementations
impl<'a, 'b, 'tcx> Debug for Elaborator<'a, 'b, 'tcx>[src]
impl<'a, 'b, 'tcx> DropElaborator<'a, 'tcx> for Elaborator<'a, 'b, 'tcx>[src]
type Path = MovePathIndex
The type representing paths that can be moved out of. Read more
pub fn patch(&mut self) -> &mut MirPatch<'tcx>[src]
pub fn body(&self) -> &'a Body<'tcx>[src]
pub fn tcx(&self) -> TyCtxt<'tcx>[src]
pub fn param_env(&self) -> ParamEnv<'tcx>[src]
pub fn drop_style(&self, path: Self::Path, mode: DropFlagMode) -> DropStyle[src]
pub fn clear_drop_flag(
&mut self,
loc: Location,
path: Self::Path,
mode: DropFlagMode
)[src]
&mut self,
loc: Location,
path: Self::Path,
mode: DropFlagMode
)
pub fn field_subpath(
&self,
path: Self::Path,
field: Field
) -> Option<Self::Path>[src]
&self,
path: Self::Path,
field: Field
) -> Option<Self::Path>
pub fn array_subpath(
&self,
path: Self::Path,
index: u64,
size: u64
) -> Option<Self::Path>[src]
&self,
path: Self::Path,
index: u64,
size: u64
) -> Option<Self::Path>
pub fn deref_subpath(&self, path: Self::Path) -> Option<Self::Path>[src]
pub fn downcast_subpath(
&self,
path: Self::Path,
variant: VariantIdx
) -> Option<Self::Path>[src]
&self,
path: Self::Path,
variant: VariantIdx
) -> Option<Self::Path>
pub fn get_drop_flag(&mut self, path: Self::Path) -> Option<Operand<'tcx>>[src]
Auto Trait Implementations
impl<'a, 'b, 'tcx> !RefUnwindSafe for Elaborator<'a, 'b, 'tcx>
impl<'a, 'b, 'tcx> !Send for Elaborator<'a, 'b, 'tcx>
impl<'a, 'b, 'tcx> !Sync for Elaborator<'a, 'b, 'tcx>
impl<'a, 'b, 'tcx> Unpin for Elaborator<'a, 'b, 'tcx> where
'b: 'a,
'tcx: 'a,
'b: 'a,
'tcx: 'a,
impl<'a, 'b, 'tcx> !UnwindSafe for Elaborator<'a, 'b, 'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.