Struct simics::api::interface::interfaces::GfxBreakInterface
source · pub struct GfxBreakInterface {
obj: *mut ConfObject,
interface: *mut gfx_break_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut gfx_break_interface
Implementations§
source§impl GfxBreakInterface
impl GfxBreakInterface
sourcepub fn store(
&mut self,
file: *const c_char,
minx: c_int,
miny: c_int,
maxx: c_int,
maxy: c_int,
) -> Result<bool>
pub fn store( &mut self, file: *const c_char, minx: c_int, miny: c_int, maxx: c_int, maxy: c_int, ) -> Result<bool>
Automatically generated method for the interface
sourcepub fn add(
&mut self,
file: *const c_char,
name: *const c_char,
oneshot: bool,
interval: f64,
cb: gfx_break_cb_t,
arg: *mut lang_void,
) -> Result<int64>
pub fn add( &mut self, file: *const c_char, name: *const c_char, oneshot: bool, interval: f64, cb: gfx_break_cb_t, arg: *mut lang_void, ) -> Result<int64>
Automatically generated method for the interface
sourcepub fn remove(&mut self, break_id: int64) -> Result<bool>
pub fn remove(&mut self, break_id: int64) -> Result<bool>
Automatically generated method for the interface
sourcepub fn match_(&mut self, file: *const c_char) -> Result<c_int>
pub fn match_(&mut self, file: *const c_char) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn info(&mut self, file: *const c_char) -> Result<gbp_header_t>
pub fn info(&mut self, file: *const c_char) -> Result<gbp_header_t>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for GfxBreakInterface
impl Interface for GfxBreakInterface
source§type InternalInterface = gfx_break_interface
type InternalInterface = gfx_break_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 GfxBreakInterface
impl RefUnwindSafe for GfxBreakInterface
impl !Send for GfxBreakInterface
impl !Sync for GfxBreakInterface
impl Unpin for GfxBreakInterface
impl UnwindSafe for GfxBreakInterface
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