Struct simics_api_sys::bindings::gfx_break_interface
source · #[repr(C)]pub struct gfx_break_interface {
pub store: Option<unsafe extern "C" fn(obj: *mut conf_object_t, file: *const c_char, minx: c_int, miny: c_int, maxx: c_int, maxy: c_int) -> bool>,
pub add: Option<unsafe extern "C" fn(obj: *mut conf_object_t, file: *const c_char, name: *const c_char, oneshot: bool, interval: f64, cb: gfx_break_cb_t, arg: *mut lang_void) -> int64>,
pub remove: Option<unsafe extern "C" fn(obj: *mut conf_object_t, break_id: int64) -> bool>,
pub match_: Option<unsafe extern "C" fn(obj: *mut conf_object_t, file: *const c_char) -> c_int>,
pub info: Option<unsafe extern "C" fn(obj: *mut conf_object_t, file: *const c_char) -> gbp_header_t>,
pub export_png: Option<unsafe extern "C" fn(obj: *mut conf_object_t, file: *const c_char, png_file: *const c_char) -> bool>,
pub add_bytes: Option<unsafe extern "C" fn(obj: *mut conf_object_t, data: bytes_t, name: *const c_char, oneshot: bool, interval: f64, cb: gfx_break_cb_t, arg: *mut lang_void) -> int64>,
}
Fields§
§store: Option<unsafe extern "C" fn(obj: *mut conf_object_t, file: *const c_char, minx: c_int, miny: c_int, maxx: c_int, maxy: c_int) -> bool>
§add: Option<unsafe extern "C" fn(obj: *mut conf_object_t, file: *const c_char, name: *const c_char, oneshot: bool, interval: f64, cb: gfx_break_cb_t, arg: *mut lang_void) -> int64>
§remove: Option<unsafe extern "C" fn(obj: *mut conf_object_t, break_id: int64) -> bool>
§match_: Option<unsafe extern "C" fn(obj: *mut conf_object_t, file: *const c_char) -> c_int>
§info: Option<unsafe extern "C" fn(obj: *mut conf_object_t, file: *const c_char) -> gbp_header_t>
§export_png: Option<unsafe extern "C" fn(obj: *mut conf_object_t, file: *const c_char, png_file: *const c_char) -> bool>
§add_bytes: Option<unsafe extern "C" fn(obj: *mut conf_object_t, data: bytes_t, name: *const c_char, oneshot: bool, interval: f64, cb: gfx_break_cb_t, arg: *mut lang_void) -> int64>
Trait Implementations§
source§impl Clone for gfx_break_interface
impl Clone for gfx_break_interface
source§fn clone(&self) -> gfx_break_interface
fn clone(&self) -> gfx_break_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 gfx_break_interface
impl Debug for gfx_break_interface
source§impl Default for gfx_break_interface
impl Default for gfx_break_interface
source§fn default() -> gfx_break_interface
fn default() -> gfx_break_interface
Returns the “default value” for a type. Read more
source§impl Hash for gfx_break_interface
impl Hash for gfx_break_interface
source§impl Ord for gfx_break_interface
impl Ord for gfx_break_interface
source§fn cmp(&self, other: &gfx_break_interface) -> Ordering
fn cmp(&self, other: &gfx_break_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 gfx_break_interface
impl PartialEq for gfx_break_interface
source§impl PartialOrd for gfx_break_interface
impl PartialOrd for gfx_break_interface
impl Copy for gfx_break_interface
impl Eq for gfx_break_interface
impl StructuralPartialEq for gfx_break_interface
Auto Trait Implementations§
impl Freeze for gfx_break_interface
impl RefUnwindSafe for gfx_break_interface
impl Send for gfx_break_interface
impl Sync for gfx_break_interface
impl Unpin for gfx_break_interface
impl UnwindSafe for gfx_break_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
)