Struct simics_api_sys::cbdata_type_t
source · #[repr(C)]pub struct cbdata_type_t {
pub name: *const c_char,
pub dealloc: Option<unsafe extern "C" fn(data: *mut c_void)>,
}
Expand description
Fields§
§name: *const c_char
§dealloc: Option<unsafe extern "C" fn(data: *mut c_void)>
Trait Implementations§
source§impl Clone for cbdata_type_t
impl Clone for cbdata_type_t
source§fn clone(&self) -> cbdata_type_t
fn clone(&self) -> cbdata_type_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for cbdata_type_t
impl Debug for cbdata_type_t
source§impl Default for cbdata_type_t
impl Default for cbdata_type_t
source§impl Hash for cbdata_type_t
impl Hash for cbdata_type_t
source§impl Ord for cbdata_type_t
impl Ord for cbdata_type_t
source§fn cmp(&self, other: &cbdata_type_t) -> Ordering
fn cmp(&self, other: &cbdata_type_t) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for cbdata_type_t
impl PartialEq for cbdata_type_t
source§impl PartialOrd for cbdata_type_t
impl PartialOrd for cbdata_type_t
impl Copy for cbdata_type_t
impl Eq for cbdata_type_t
impl StructuralPartialEq for cbdata_type_t
Auto Trait Implementations§
impl Freeze for cbdata_type_t
impl RefUnwindSafe for cbdata_type_t
impl !Send for cbdata_type_t
impl !Sync for cbdata_type_t
impl Unpin for cbdata_type_t
impl UnwindSafe for cbdata_type_t
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
)