Struct simics_api_sys::table_interface
source · #[repr(C)]pub struct table_interface {
pub data: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>,
pub properties: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>,
}
Fields§
§data: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>
Returns all rows and columns in the following format: [[[i|f|s|o|n*]*]] where the outer list is the row and the inner list is the data for each column.
properties: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>
Defines the table structure and meta-data for the table using a list of key/value pairs. [[[ia]]] where the integer is the key taken from the table_properties_t. The value is key-specific.
Trait Implementations§
source§impl Clone for table_interface
impl Clone for table_interface
source§fn clone(&self) -> table_interface
fn clone(&self) -> table_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 table_interface
impl Debug for table_interface
source§impl Default for table_interface
impl Default for table_interface
source§fn default() -> table_interface
fn default() -> table_interface
Returns the “default value” for a type. Read more
source§impl Hash for table_interface
impl Hash for table_interface
source§impl Ord for table_interface
impl Ord for table_interface
source§fn cmp(&self, other: &table_interface) -> Ordering
fn cmp(&self, other: &table_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 table_interface
impl PartialEq for table_interface
source§impl PartialOrd for table_interface
impl PartialOrd for table_interface
impl Copy for table_interface
impl Eq for table_interface
impl StructuralPartialEq for table_interface
Auto Trait Implementations§
impl Freeze for table_interface
impl RefUnwindSafe for table_interface
impl Send for table_interface
impl Sync for table_interface
impl Unpin for table_interface
impl UnwindSafe for table_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
)