Struct simics::api::interface::interfaces::OsaParametersInterface
source · pub struct OsaParametersInterface {
obj: *mut ConfObject,
interface: *mut osa_parameters_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut osa_parameters_interface
Implementations§
source§impl OsaParametersInterface
impl OsaParametersInterface
sourcepub fn get_parameters(&mut self, include_children: bool) -> Result<AttrValue>
pub fn get_parameters(&mut self, include_children: bool) -> Result<AttrValue>
Automatically generated method for the interface
sourcepub fn set_parameters(&mut self, parameters: attr_value_t) -> Result<AttrValue>
pub fn set_parameters(&mut self, parameters: attr_value_t) -> Result<AttrValue>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for OsaParametersInterface
impl Interface for OsaParametersInterface
source§const NAME: &'static [u8] = crate::api::sys::OSA_PARAMETERS_INTERFACE
const NAME: &'static [u8] = crate::api::sys::OSA_PARAMETERS_INTERFACE
The name of the interface
source§type InternalInterface = osa_parameters_interface
type InternalInterface = osa_parameters_interface
The inner interface type, which is a struct of nullable extern “C” function pointers
and must be default constructable as all NULL pointers (i.e. None values)
source§type Name = &'static [u8]
type Name = &'static [u8]
The type of the name of the interface, must be convertible to raw C string to pass to
the simulator
source§fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
Create a new instance of this interface
Auto Trait Implementations§
impl Freeze for OsaParametersInterface
impl RefUnwindSafe for OsaParametersInterface
impl !Send for OsaParametersInterface
impl !Sync for OsaParametersInterface
impl Unpin for OsaParametersInterface
impl UnwindSafe for OsaParametersInterface
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