Struct simics::api::interface::interfaces::VmpInterface
source · pub struct VmpInterface {
obj: *mut ConfObject,
interface: *mut vmp_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut vmp_interface
Implementations§
source§impl VmpInterface
impl VmpInterface
sourcepub fn class_has_support(&mut self) -> Result<bool>
pub fn class_has_support(&mut self) -> Result<bool>
Automatically generated method for the interface
sourcepub fn host_support(&mut self) -> Result<bool>
pub fn host_support(&mut self) -> Result<bool>
Automatically generated method for the interface
sourcepub fn compatible_config(&mut self) -> Result<bool>
pub fn compatible_config(&mut self) -> Result<bool>
Automatically generated method for the interface
sourcepub fn set_threshold(&mut self, threshold: c_int) -> Result<()>
pub fn set_threshold(&mut self, threshold: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_feature(&mut self, feature: vmp_feature_t) -> Result<bool>
pub fn get_feature(&mut self, feature: vmp_feature_t) -> Result<bool>
Automatically generated method for the interface
sourcepub fn set_feature(&mut self, feature: vmp_feature_t, val: bool) -> Result<bool>
pub fn set_feature(&mut self, feature: vmp_feature_t, val: bool) -> Result<bool>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for VmpInterface
impl Interface for VmpInterface
source§type InternalInterface = vmp_interface
type InternalInterface = vmp_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 VmpInterface
impl RefUnwindSafe for VmpInterface
impl !Send for VmpInterface
impl !Sync for VmpInterface
impl Unpin for VmpInterface
impl UnwindSafe for VmpInterface
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