Struct simics_api_sys::bindings::_cframe
source · #[repr(C)]pub struct _cframe {
pub use_tracing: c_int,
pub previous: *mut _cframe,
}
Fields§
§use_tracing: c_int
This struct will be threaded through the C stack allowing fast access to per-thread state that needs to be accessed quickly by the interpreter, but can be modified outside of the interpreter.
WARNING: This makes data on the C stack accessible from heap objects. Care must be taken to maintain stack discipline and make sure that instances of this struct cannot accessed outside of their lifetime.
previous: *mut _cframe
Trait Implementations§
source§impl Ord for _cframe
impl Ord for _cframe
source§impl PartialOrd for _cframe
impl PartialOrd for _cframe
impl Copy for _cframe
impl Eq for _cframe
impl StructuralPartialEq for _cframe
Auto Trait Implementations§
impl Freeze for _cframe
impl RefUnwindSafe for _cframe
impl !Send for _cframe
impl !Sync for _cframe
impl Unpin for _cframe
impl UnwindSafe for _cframe
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)