struct LibffiClosureData<'tcx> {
ecx_interchange: &'static Cell<usize>,
unsupported: bool,
marker: PhantomData<MiriInterpCx<'tcx>>,
}Expand description
The data passed to the closure shim function used to intercept function pointer calls from native code.
Fields§
§ecx_interchange: &'static Cell<usize>§unsupported: bool§marker: PhantomData<MiriInterpCx<'tcx>>Auto Trait Implementations§
impl<'tcx> !DynSend for LibffiClosureData<'tcx>
impl<'tcx> !DynSync for LibffiClosureData<'tcx>
impl<'tcx> !RefUnwindSafe for LibffiClosureData<'tcx>
impl<'tcx> !Send for LibffiClosureData<'tcx>
impl<'tcx> !Sync for LibffiClosureData<'tcx>
impl<'tcx> !UnwindSafe for LibffiClosureData<'tcx>
impl<'tcx> Forget for LibffiClosureData<'tcx>
impl<'tcx> Freeze for LibffiClosureData<'tcx>
impl<'tcx> Move for LibffiClosureData<'tcx>
impl<'tcx> Unpin for LibffiClosureData<'tcx>where
&'static Cell<usize>: Unpin,
&'tcx GlobalCtxt<'tcx>: Unpin,
NonZero<u64>: Unpin,
*const u8 is !null: Unpin,
Rc<GenmcCtx>: Unpin,
Box<GlobalState>: Unpin,
*const VTimestamp is !null: Unpin,
*mut u8: Unpin,
Rc<RefCell<IsolatedAlloc>>: Unpin,
NonZero<u8>: Unpin,
&'tcx WithCachedTypeInfo<TyKind<TyCtxt<'tcx>>>: Unpin,
&'tcx LayoutData<FieldIdx, VariantIdx>: Unpin,
*const LeafNode<u64, TlsEntry<'tcx>> is !null: Unpin,
Box<(u64, TlsEntry<'tcx>)>: Unpin,
*const LeafNode<ThreadId, Vec<(Instance<'tcx>, Scalar<Provenance>, Span)>> is !null: Unpin,
Box<(ThreadId, Vec<(Instance<'tcx>, Scalar<Provenance>, Span)>)>: Unpin,
*const LeafNode<i32, FileDescriptionRef<dyn FileDescription>> is !null: Unpin,
Box<(i32, FileDescriptionRef<dyn FileDescription>)>: Unpin,
Arc<InnerReadDir>: Unpin,
&'static str: Unpin,
Rc<DelayedCallbacks>: Unpin,
Box<dyn MachineCallback<'tcx, UnblockKind> + 'tcx>: Unpin,
&'tcx Body<'tcx>: Unpin,
&'tcx RawList<(), GenericArg<'tcx>>: Unpin,
*const (AllocId, BorTag) is !null: Unpin,
&'static (dyn Subscriber + Sync + Send): Unpin,
Arc<dyn Subscriber + Sync + Send>: Unpin,
&'static Metadata<'static>: Unpin,
*const u8: Unpin,
Box<dyn FnMut(&mut InterpCx<'tcx, MiriMachine<'tcx>>) -> InterpResult<'tcx, Poll<()>> + 'tcx>: Unpin,
I32NotAllOnes: Unpin,
*const LeafNode<FdId, BlockingIoSource> is !null: Unpin,
Box<(FdId, BlockingIoSource)>: Unpin,
Arc<SerializationSink>: Unpin,
*mut c_void: Unpin,
[u32; 64]: Unpin,
&'tcx RawList<(), LocalDefId>: Unpin,
&'tcx RawList<TypeInfo, Clause<'tcx>>: Unpin,
MonoHashMap<AllocId, (MemoryKind<MiriMemoryKind>, Allocation<Provenance, AllocExtra<'tcx>, MiriAllocBytes>)>: Unpin,
DynSym: Unpin,
Provenance: Unpin,
impl<'tcx> UnsafeUnpin for LibffiClosureData<'tcx>where
&'static Cell<usize>: UnsafeUnpin,
PhantomData<InterpCx<'tcx, MiriMachine<'tcx>>>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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