Struct simics_api_sys::gfx_con_interface
source · #[repr(C)]pub struct gfx_con_interface {
pub set_color: Option<unsafe extern "C" fn(obj: *mut conf_object_t, index: uint8, r: uint8, g: uint8, b: uint8) -> c_int>,
pub set_size: Option<unsafe extern "C" fn(obj: *mut conf_object_t, width: c_int, height: c_int)>,
pub put_pixel: Option<unsafe extern "C" fn(obj: *mut conf_object_t, x: c_int, y: c_int, index: uint8)>,
pub put_pixel_rgb: Option<unsafe extern "C" fn(obj: *mut conf_object_t, x: c_int, y: c_int, rgb: uint32)>,
pub put_block_old: Option<unsafe extern "C" fn(obj: *mut conf_object_t, src: *mut uint8, minx: c_int, miny: c_int, maxx: c_int, maxy: c_int, src_fmt: c_int, src_stride: c_int, unused: c_int)>,
pub redraw: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub update_keyboard_leds: Option<unsafe extern "C" fn(obj: *mut conf_object_t, led_change: c_int)>,
pub put_pixel_col: Option<unsafe extern "C" fn(obj: *mut conf_object_t, x: c_int, y: c_int, r: c_int, g: c_int, b: c_int)>,
pub put_block: Option<unsafe extern "C" fn(obj: *mut conf_object_t, block: bytes_t, minx: c_int, miny: c_int, maxx: c_int, maxy: c_int, src_fmt: gfx_con_pixel_fmt_t, src_stride: c_int)>,
}
Fields§
§set_color: Option<unsafe extern "C" fn(obj: *mut conf_object_t, index: uint8, r: uint8, g: uint8, b: uint8) -> c_int>
§set_size: Option<unsafe extern "C" fn(obj: *mut conf_object_t, width: c_int, height: c_int)>
§put_pixel: Option<unsafe extern "C" fn(obj: *mut conf_object_t, x: c_int, y: c_int, index: uint8)>
§put_pixel_rgb: Option<unsafe extern "C" fn(obj: *mut conf_object_t, x: c_int, y: c_int, rgb: uint32)>
§put_block_old: Option<unsafe extern "C" fn(obj: *mut conf_object_t, src: *mut uint8, minx: c_int, miny: c_int, maxx: c_int, maxy: c_int, src_fmt: c_int, src_stride: c_int, unused: c_int)>
§redraw: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
§update_keyboard_leds: Option<unsafe extern "C" fn(obj: *mut conf_object_t, led_change: c_int)>
§put_pixel_col: Option<unsafe extern "C" fn(obj: *mut conf_object_t, x: c_int, y: c_int, r: c_int, g: c_int, b: c_int)>
§put_block: Option<unsafe extern "C" fn(obj: *mut conf_object_t, block: bytes_t, minx: c_int, miny: c_int, maxx: c_int, maxy: c_int, src_fmt: gfx_con_pixel_fmt_t, src_stride: c_int)>
Trait Implementations§
source§impl Clone for gfx_con_interface
impl Clone for gfx_con_interface
source§fn clone(&self) -> gfx_con_interface
fn clone(&self) -> gfx_con_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_con_interface
impl Debug for gfx_con_interface
source§impl Default for gfx_con_interface
impl Default for gfx_con_interface
source§fn default() -> gfx_con_interface
fn default() -> gfx_con_interface
Returns the “default value” for a type. Read more
source§impl Hash for gfx_con_interface
impl Hash for gfx_con_interface
source§impl Ord for gfx_con_interface
impl Ord for gfx_con_interface
source§fn cmp(&self, other: &gfx_con_interface) -> Ordering
fn cmp(&self, other: &gfx_con_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_con_interface
impl PartialEq for gfx_con_interface
source§impl PartialOrd for gfx_con_interface
impl PartialOrd for gfx_con_interface
impl Copy for gfx_con_interface
impl Eq for gfx_con_interface
impl StructuralPartialEq for gfx_con_interface
Auto Trait Implementations§
impl Freeze for gfx_con_interface
impl RefUnwindSafe for gfx_con_interface
impl Send for gfx_con_interface
impl Sync for gfx_con_interface
impl Unpin for gfx_con_interface
impl UnwindSafe for gfx_con_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
)