Struct rustc_typeck::check::intrinsicck::InlineAsmCtxt
source · [−]Fields
tcx: TyCtxt<'tcx>fcx: Option<&'a FnCtxt<'a, 'tcx>>Implementations
sourceimpl<'a, 'tcx> InlineAsmCtxt<'a, 'tcx>
impl<'a, 'tcx> InlineAsmCtxt<'a, 'tcx>
pub fn new_global_asm(tcx: TyCtxt<'tcx>) -> Self
pub fn new_in_fn(fcx: &'a FnCtxt<'a, 'tcx>) -> Self
fn check_asm_operand_type(
&self,
idx: usize,
reg: InlineAsmRegOrRegClass,
expr: &Expr<'tcx>,
template: &[InlineAsmTemplatePiece],
is_input: bool,
tied_input: Option<(&Expr<'tcx>, Option<InlineAsmType>)>,
target_features: &FxHashSet<Symbol>
) -> Option<InlineAsmType>
pub fn check_asm(&self, asm: &InlineAsm<'tcx>, enclosing_id: HirId)
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for InlineAsmCtxt<'a, 'tcx>
impl<'a, 'tcx> !Send for InlineAsmCtxt<'a, 'tcx>
impl<'a, 'tcx> !Sync for InlineAsmCtxt<'a, 'tcx>
impl<'a, 'tcx> Unpin for InlineAsmCtxt<'a, 'tcx> where
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for InlineAsmCtxt<'a, 'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized,
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: 16 bytes