Enum rustc_typeck::check::coercion::Expressions
source · [−]enum Expressions<'tcx, 'exprs, E: AsCoercionSite> {
Dynamic(Vec<&'tcx Expr<'tcx>>),
UpFront(&'exprs [E]),
}
Variants
Dynamic(Vec<&'tcx Expr<'tcx>>)
UpFront(&'exprs [E])
Auto Trait Implementations
impl<'tcx, 'exprs, E> RefUnwindSafe for Expressions<'tcx, 'exprs, E>where
E: RefUnwindSafe,
impl<'tcx, 'exprs, E> !Send for Expressions<'tcx, 'exprs, E>
impl<'tcx, 'exprs, E> !Sync for Expressions<'tcx, 'exprs, E>
impl<'tcx, 'exprs, E> Unpin for Expressions<'tcx, 'exprs, E>
impl<'tcx, 'exprs, E> UnwindSafe for Expressions<'tcx, 'exprs, E>where
E: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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 Twhere
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: 24 bytes
Size for each variant:
Dynamic
: 24 bytesUpFront
: 24 bytes