Struct simics::api::interface::interfaces::CpuGroupInterface
source · pub struct CpuGroupInterface {
obj: *mut ConfObject,
interface: *mut cpu_group_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut cpu_group_interface
Implementations§
source§impl CpuGroupInterface
impl CpuGroupInterface
sourcepub fn get_cpu_list(&mut self) -> Result<*const cpu_list_t>
pub fn get_cpu_list(&mut self) -> Result<*const cpu_list_t>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for CpuGroupInterface
impl Interface for CpuGroupInterface
source§type InternalInterface = cpu_group_interface
type InternalInterface = cpu_group_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 CpuGroupInterface
impl RefUnwindSafe for CpuGroupInterface
impl !Send for CpuGroupInterface
impl !Sync for CpuGroupInterface
impl Unpin for CpuGroupInterface
impl UnwindSafe for CpuGroupInterface
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