Struct simics_api_sys::bindings::vga_text_info_interface
source · #[repr(C)]pub struct vga_text_info_interface {
pub text_mode: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>,
pub font_size: Option<unsafe extern "C" fn(obj: *mut conf_object_t, width: *mut c_int, height: *mut c_int) -> bool>,
pub screen_size: Option<unsafe extern "C" fn(obj: *mut conf_object_t, columns: *mut c_int, rows: *mut c_int) -> bool>,
pub text: Option<unsafe extern "C" fn(obj: *mut conf_object_t, text: *mut uint8, line_lengths: *mut uint8) -> bool>,
}
Fields§
§text_mode: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>
§font_size: Option<unsafe extern "C" fn(obj: *mut conf_object_t, width: *mut c_int, height: *mut c_int) -> bool>
§screen_size: Option<unsafe extern "C" fn(obj: *mut conf_object_t, columns: *mut c_int, rows: *mut c_int) -> bool>
§text: Option<unsafe extern "C" fn(obj: *mut conf_object_t, text: *mut uint8, line_lengths: *mut uint8) -> bool>
Trait Implementations§
source§impl Clone for vga_text_info_interface
impl Clone for vga_text_info_interface
source§fn clone(&self) -> vga_text_info_interface
fn clone(&self) -> vga_text_info_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 vga_text_info_interface
impl Debug for vga_text_info_interface
source§impl Default for vga_text_info_interface
impl Default for vga_text_info_interface
source§fn default() -> vga_text_info_interface
fn default() -> vga_text_info_interface
Returns the “default value” for a type. Read more
source§impl Hash for vga_text_info_interface
impl Hash for vga_text_info_interface
source§impl Ord for vga_text_info_interface
impl Ord for vga_text_info_interface
source§fn cmp(&self, other: &vga_text_info_interface) -> Ordering
fn cmp(&self, other: &vga_text_info_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 vga_text_info_interface
impl PartialEq for vga_text_info_interface
source§impl PartialOrd for vga_text_info_interface
impl PartialOrd for vga_text_info_interface
impl Copy for vga_text_info_interface
impl Eq for vga_text_info_interface
impl StructuralPartialEq for vga_text_info_interface
Auto Trait Implementations§
impl Freeze for vga_text_info_interface
impl RefUnwindSafe for vga_text_info_interface
impl Send for vga_text_info_interface
impl Sync for vga_text_info_interface
impl Unpin for vga_text_info_interface
impl UnwindSafe for vga_text_info_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
)