Enum miri::interpret::MemPlaceMeta
source · pub enum MemPlaceMeta<Prov = AllocId>where
Prov: Provenance,{
Meta(Scalar<Prov>),
None,
}
Expand description
Information required for the sound usage of a MemPlace
.
Variants
Meta(Scalar<Prov>)
The unsized payload (e.g. length for slices or vtable pointer for trait objects).
None
Sized
types or unsized extern type
Auto Trait Implementations
impl<Prov> RefUnwindSafe for MemPlaceMeta<Prov>where
Prov: RefUnwindSafe,
impl<Prov> Send for MemPlaceMeta<Prov>where
Prov: Send,
impl<Prov> Sync for MemPlaceMeta<Prov>where
Prov: Sync,
impl<Prov> Unpin for MemPlaceMeta<Prov>where
Prov: Unpin,
impl<Prov> UnwindSafe for MemPlaceMeta<Prov>where
Prov: UnwindSafe,
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<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
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.