[−][src]Struct rustc_mir::shim::DropShimElaborator
Fields
body: &'a Body<'tcx>patch: MirPatch<'tcx>tcx: TyCtxt<'tcx>param_env: ParamEnv<'tcx>Trait Implementations
impl<'a, 'tcx> Debug for DropShimElaborator<'a, 'tcx>[src]
impl<'a, 'tcx> DropElaborator<'a, 'tcx> for DropShimElaborator<'a, 'tcx>[src]
type Path = ()
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 get_drop_flag(&mut self, _path: Self::Path) -> Option<Operand<'tcx>>[src]
pub fn clear_drop_flag(
&mut self,
_location: Location,
_path: Self::Path,
_mode: DropFlagMode
)[src]
&mut self,
_location: 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 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 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>
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for DropShimElaborator<'a, 'tcx>
impl<'a, 'tcx> !Send for DropShimElaborator<'a, 'tcx>
impl<'a, 'tcx> !Sync for DropShimElaborator<'a, 'tcx>
impl<'a, 'tcx> Unpin for DropShimElaborator<'a, 'tcx> where
'tcx: 'a,
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for DropShimElaborator<'a, '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.