Struct simics::api::interface::interfaces::CmdLineFrontendInterface
source · pub struct CmdLineFrontendInterface {
obj: *mut ConfObject,
interface: *mut cmd_line_frontend_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut cmd_line_frontend_interface
Implementations§
source§impl CmdLineFrontendInterface
impl CmdLineFrontendInterface
sourcepub fn write(&mut self, str_: *const c_char) -> Result<()>
pub fn write(&mut self, str_: *const c_char) -> Result<()>
Automatically generated method for the interface
sourcepub fn delete_line(&mut self) -> Result<()>
pub fn delete_line(&mut self) -> Result<()>
Automatically generated method for the interface
sourcepub fn disconnect(&mut self) -> Result<()>
pub fn disconnect(&mut self) -> Result<()>
Automatically generated method for the interface
sourcepub fn cursor_left(&mut self, num: c_int) -> Result<()>
pub fn cursor_left(&mut self, num: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn cursor_right(&mut self, num: c_int) -> Result<()>
pub fn cursor_right(&mut self, num: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn clear_screen(&mut self) -> Result<()>
pub fn clear_screen(&mut self) -> Result<()>
Automatically generated method for the interface
sourcepub fn prompt_end(&mut self, pos: c_int) -> Result<()>
pub fn prompt_end(&mut self, pos: c_int) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for CmdLineFrontendInterface
impl Interface for CmdLineFrontendInterface
source§const NAME: &'static [u8] = crate::api::sys::CMD_LINE_FRONTEND_INTERFACE
const NAME: &'static [u8] = crate::api::sys::CMD_LINE_FRONTEND_INTERFACE
The name of the interface
source§type InternalInterface = cmd_line_frontend_interface
type InternalInterface = cmd_line_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 CmdLineFrontendInterface
impl RefUnwindSafe for CmdLineFrontendInterface
impl !Send for CmdLineFrontendInterface
impl !Sync for CmdLineFrontendInterface
impl Unpin for CmdLineFrontendInterface
impl UnwindSafe for CmdLineFrontendInterface
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