Struct simics_api_sys::debug_query_interface
source · #[repr(C)]pub struct debug_query_interface {
pub matching_contexts: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char) -> attr_value_t>,
pub get_context_group: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub get_context_parent: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub get_context_children: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub query_for_context_group: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub query_for_context_id: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub query_for_context_tree: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub context_name: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub context_id_for_object: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_obj: *mut conf_object_t) -> attr_value_t>,
pub object_for_context: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub context_has_state: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub get_active_processor: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
}
Fields§
§matching_contexts: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char) -> attr_value_t>
§get_context_group: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§get_context_parent: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§get_context_children: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§query_for_context_group: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§query_for_context_id: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§query_for_context_tree: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§context_name: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§context_id_for_object: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_obj: *mut conf_object_t) -> attr_value_t>
§object_for_context: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§context_has_state: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§get_active_processor: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
Trait Implementations§
source§impl Clone for debug_query_interface
impl Clone for debug_query_interface
source§fn clone(&self) -> debug_query_interface
fn clone(&self) -> debug_query_interface
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 debug_query_interface
impl Debug for debug_query_interface
source§impl Default for debug_query_interface
impl Default for debug_query_interface
source§fn default() -> debug_query_interface
fn default() -> debug_query_interface
Returns the “default value” for a type. Read more
source§impl Hash for debug_query_interface
impl Hash for debug_query_interface
source§impl Ord for debug_query_interface
impl Ord for debug_query_interface
source§fn cmp(&self, other: &debug_query_interface) -> Ordering
fn cmp(&self, other: &debug_query_interface) -> 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 debug_query_interface
impl PartialEq for debug_query_interface
source§impl PartialOrd for debug_query_interface
impl PartialOrd for debug_query_interface
impl Copy for debug_query_interface
impl Eq for debug_query_interface
impl StructuralPartialEq for debug_query_interface
Auto Trait Implementations§
impl Freeze for debug_query_interface
impl RefUnwindSafe for debug_query_interface
impl Send for debug_query_interface
impl Sync for debug_query_interface
impl Unpin for debug_query_interface
impl UnwindSafe for debug_query_interface
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
)