pub struct ImmTy<'tcx, Tag = AllocId> where
Tag: Provenance, {
imm: Immediate<Tag>,
pub layout: TyAndLayout<'tcx, Ty<'tcx>>,
}Fields
imm: Immediate<Tag>layout: TyAndLayout<'tcx, Ty<'tcx>>Auto Trait Implementations
impl<'tcx, Tag = AllocId> !RefUnwindSafe for ImmTy<'tcx, Tag>
impl<'tcx, Tag> Send for ImmTy<'tcx, Tag> where
Tag: Send,
impl<'tcx, Tag> Sync for ImmTy<'tcx, Tag> where
Tag: Sync,
impl<'tcx, Tag> Unpin for ImmTy<'tcx, Tag> where
Tag: Unpin,
impl<'tcx, Tag = AllocId> !UnwindSafe for ImmTy<'tcx, Tag>
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<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.