Type Alias simics_api_sys::CFrame

source ·
pub type CFrame = _cframe;

Aliased Type§

struct CFrame {
    pub use_tracing: i32,
    pub previous: *mut _cframe,
}

Fields§

§use_tracing: i32

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 Clone for _cframe

source§

fn clone(&self) -> _cframe

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for _cframe

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for _cframe

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Hash for _cframe

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for _cframe

source§

fn cmp(&self, other: &_cframe) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for _cframe

source§

fn eq(&self, other: &_cframe) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for _cframe

source§

fn partial_cmp(&self, other: &_cframe) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for _cframe

source§

impl Eq for _cframe

source§

impl StructuralPartialEq for _cframe