[−][src]Enum rustc_mir_build::thir::ExprKind
Variants
Fields of Box
value: ExprRef<'tcx>Fields of Call
Fields of Deref
arg: ExprRef<'tcx>Fields of Cast
source: ExprRef<'tcx>Fields of Use
source: ExprRef<'tcx>Fields of NeverToAny
source: ExprRef<'tcx>Fields of Pointer
cast: PointerCastsource: ExprRef<'tcx>Fields of Loop
body: ExprRef<'tcx>Fields of Block
body: &'tcx Block<'tcx>Fields of VarRef
id: HirIdUsed to represent upvars mentioned in a closure/generator
Fields of UpvarRef
Fields of Borrow
borrow_kind: BorrowKindarg: ExprRef<'tcx>A &raw [const|mut] $place_expr raw borrow resulting in type *[const|mut] T.
Fields of AddressOf
mutability: Mutabilityarg: ExprRef<'tcx>Fields of Continue
label: ScopeFields of ConstBlock
value: &'tcx Const<'tcx>Fields of Adt
adt_def: &'tcx AdtDefvariant_index: VariantIdxsubsts: SubstsRef<'tcx>user_ty: Option<Canonical<'tcx, UserType<'tcx>>>Optional user-given substs: for something like let x = Bar::<T> { ... }.
fields: Vec<FieldExprRef<'tcx>>base: Option<FruInfo<'tcx>>Fields of PlaceTypeAscription
Fields of ValueTypeAscription
Fields of Closure
Fields of Literal
A literal containing the address of a static.
This is only distinguished from Literal so that we can register some
info for diagnostics.
Fields of InlineAsm
template: &'tcx [InlineAsmTemplatePiece]operands: Vec<InlineAsmOperand<'tcx>>options: InlineAsmOptionsline_spans: &'tcx [Span]ThreadLocalRef(DefId)An expression taking a reference to a thread local.
Fields of LlvmInlineAsm
Fields of Yield
value: ExprRef<'tcx>Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ExprKind<'tcx>
impl<'tcx> !Send for ExprKind<'tcx>
impl<'tcx> !Sync for ExprKind<'tcx>
impl<'tcx> Unpin for ExprKind<'tcx>
impl<'tcx> !UnwindSafe for ExprKind<'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<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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>,