Struct simics_api_sys::bindings::maybe_node_id
source · #[repr(C)]pub struct maybe_node_id {
pub valid: bool,
pub id: node_id_t,
}
Fields§
§valid: bool
§id: node_id_t
Trait Implementations§
source§impl Clone for maybe_node_id
impl Clone for maybe_node_id
source§fn clone(&self) -> maybe_node_id
fn clone(&self) -> maybe_node_id
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 maybe_node_id
impl Debug for maybe_node_id
source§impl Default for maybe_node_id
impl Default for maybe_node_id
source§fn default() -> maybe_node_id
fn default() -> maybe_node_id
Returns the “default value” for a type. Read more
source§impl Hash for maybe_node_id
impl Hash for maybe_node_id
source§impl Ord for maybe_node_id
impl Ord for maybe_node_id
source§fn cmp(&self, other: &maybe_node_id) -> Ordering
fn cmp(&self, other: &maybe_node_id) -> 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 maybe_node_id
impl PartialEq for maybe_node_id
source§impl PartialOrd for maybe_node_id
impl PartialOrd for maybe_node_id
impl Copy for maybe_node_id
impl Eq for maybe_node_id
impl StructuralPartialEq for maybe_node_id
Auto Trait Implementations§
impl Freeze for maybe_node_id
impl RefUnwindSafe for maybe_node_id
impl Send for maybe_node_id
impl Sync for maybe_node_id
impl Unpin for maybe_node_id
impl UnwindSafe for maybe_node_id
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
)