Struct simics::api::interface::interfaces::GfxConsoleFrontendInterface
source · pub struct GfxConsoleFrontendInterface {
obj: *mut ConfObject,
interface: *mut gfx_console_frontend_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut gfx_console_frontend_interface
Implementations§
source§impl GfxConsoleFrontendInterface
impl GfxConsoleFrontendInterface
sourcepub fn start(&mut self, backend: *mut conf_object_t) -> Result<c_int>
pub fn start(&mut self, backend: *mut conf_object_t) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn stop(&mut self, handle: c_int) -> Result<()>
pub fn stop(&mut self, handle: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_title(
&mut self,
handle: c_int,
short_title: *const c_char,
long_title: *const c_char,
) -> Result<()>
pub fn set_title( &mut self, handle: c_int, short_title: *const c_char, long_title: *const c_char, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_size(
&mut self,
handle: c_int,
width: c_int,
height: c_int,
) -> Result<()>
pub fn set_size( &mut self, handle: c_int, width: c_int, height: c_int, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_visible(&mut self, handle: c_int, visible: bool) -> Result<()>
pub fn set_visible(&mut self, handle: c_int, visible: bool) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_contents(
&mut self,
handle: c_int,
left: c_int,
top: c_int,
right: c_int,
bottom: c_int,
data: *const uint32,
) -> Result<()>
pub fn set_contents( &mut self, handle: c_int, left: c_int, top: c_int, right: c_int, bottom: c_int, data: *const uint32, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn invalidate_contents(&mut self, handle: c_int) -> Result<()>
pub fn invalidate_contents(&mut self, handle: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_text_mode(&mut self, handle: c_int, text_mode: bool) -> Result<()>
pub fn set_text_mode(&mut self, handle: c_int, text_mode: bool) -> Result<()>
Automatically generated method for the interface
sourcepub fn signal_text_update(&mut self, handle: c_int) -> Result<()>
pub fn signal_text_update(&mut self, handle: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_grab_mode(&mut self, handle: c_int, active: bool) -> Result<()>
pub fn set_grab_mode(&mut self, handle: c_int, active: bool) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_mouse_pos(&mut self, handle: c_int, x: c_int, y: c_int) -> Result<()>
pub fn set_mouse_pos(&mut self, handle: c_int, x: c_int, y: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_keyboard_leds(
&mut self,
handle: c_int,
led_state: gfx_console_led_t,
) -> Result<()>
pub fn set_keyboard_leds( &mut self, handle: c_int, led_state: gfx_console_led_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_grab_modifier(
&mut self,
handle: c_int,
modifier: sim_key_t,
) -> Result<()>
pub fn set_grab_modifier( &mut self, handle: c_int, modifier: sim_key_t, ) -> Result<()>
Automatically generated method for the interface
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for GfxConsoleFrontendInterface
impl Interface for GfxConsoleFrontendInterface
source§const NAME: &'static [u8] = crate::api::sys::GFX_CONSOLE_FRONTEND_INTERFACE
const NAME: &'static [u8] = crate::api::sys::GFX_CONSOLE_FRONTEND_INTERFACE
The name of the interface
source§type InternalInterface = gfx_console_frontend_interface
type InternalInterface = gfx_console_frontend_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 GfxConsoleFrontendInterface
impl RefUnwindSafe for GfxConsoleFrontendInterface
impl !Send for GfxConsoleFrontendInterface
impl !Sync for GfxConsoleFrontendInterface
impl Unpin for GfxConsoleFrontendInterface
impl UnwindSafe for GfxConsoleFrontendInterface
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