Struct rustc_mir::shim::DropShimElaborator [−][src]
pub struct DropShimElaborator<'a, 'tcx: 'a> { pub mir: &'a Mir<'tcx>, pub patch: MirPatch<'tcx>, pub tcx: TyCtxt<'a, 'tcx, 'tcx>, pub param_env: ParamEnv<'tcx>, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields
mir: &'a Mir<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
patch: MirPatch<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
tcx: TyCtxt<'a, 'tcx, 'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
param_env: ParamEnv<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl<'a, 'tcx> Debug for DropShimElaborator<'a, 'tcx>
[src]
impl<'a, 'tcx> Debug for DropShimElaborator<'a, 'tcx>
fn fmt(&self, _f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, _f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'a, 'tcx> DropElaborator<'a, 'tcx> for DropShimElaborator<'a, 'tcx>
[src]
impl<'a, 'tcx> DropElaborator<'a, 'tcx> for DropShimElaborator<'a, 'tcx>
type Path = ()
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn patch(&mut self) -> &mut MirPatch<'tcx>
[src]
fn patch(&mut self) -> &mut MirPatch<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn mir(&self) -> &'a Mir<'tcx>
[src]
fn mir(&self) -> &'a Mir<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn tcx(&self) -> TyCtxt<'a, 'tcx, 'tcx>
[src]
fn tcx(&self) -> TyCtxt<'a, 'tcx, 'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn param_env(&self) -> ParamEnv<'tcx>
[src]
fn param_env(&self) -> ParamEnv<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn drop_style(&self, _path: Self::Path, mode: DropFlagMode) -> DropStyle
[src]
fn drop_style(&self, _path: Self::Path, mode: DropFlagMode) -> DropStyle
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn get_drop_flag(&mut self, _path: Self::Path) -> Option<Operand<'tcx>>
[src]
fn get_drop_flag(&mut self, _path: Self::Path) -> Option<Operand<'tcx>>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn clear_drop_flag(
&mut self,
_location: Location,
_path: Self::Path,
_mode: DropFlagMode
)
[src]
fn clear_drop_flag(
&mut self,
_location: Location,
_path: Self::Path,
_mode: DropFlagMode
)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn field_subpath(&self, _path: Self::Path, _field: Field) -> Option<Self::Path>
[src]
fn field_subpath(&self, _path: Self::Path, _field: Field) -> Option<Self::Path>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn deref_subpath(&self, _path: Self::Path) -> Option<Self::Path>
[src]
fn deref_subpath(&self, _path: Self::Path) -> Option<Self::Path>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn downcast_subpath(
&self,
_path: Self::Path,
_variant: usize
) -> Option<Self::Path>
[src]
fn downcast_subpath(
&self,
_path: Self::Path,
_variant: usize
) -> Option<Self::Path>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn array_subpath(
&self,
_path: Self::Path,
_index: u32,
_size: u32
) -> Option<Self::Path>
[src]
fn array_subpath(
&self,
_path: Self::Path,
_index: u32,
_size: u32
) -> Option<Self::Path>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Auto Trait Implementations
impl<'a, 'tcx> !Send for DropShimElaborator<'a, 'tcx>
impl<'a, 'tcx> !Send for DropShimElaborator<'a, 'tcx>
impl<'a, 'tcx> !Sync for DropShimElaborator<'a, 'tcx>
impl<'a, 'tcx> !Sync for DropShimElaborator<'a, 'tcx>