#[repr(C)]pub struct SimpleTextOutputProtocol {
pub(crate) reset: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: bool) -> usize,
pub(crate) output_string: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: *const u16) -> usize,
pub(crate) test_string: usize,
pub(crate) query_mode: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: usize, _: *mut usize, _: *mut usize) -> usize,
pub(crate) set_mode: usize,
pub(crate) set_attribute: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: usize) -> usize,
pub(crate) clear_screen: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol) -> usize,
pub(crate) set_cursor_position: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: usize, _: usize) -> usize,
pub(crate) enable_cursor: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: bool) -> usize,
pub(crate) mode: *const SimpleTextOutputMode,
}Fields§
§reset: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: bool) -> usize§output_string: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: *const u16) -> usize§test_string: usize§query_mode: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: usize, _: *mut usize, _: *mut usize) -> usize§set_mode: usize§set_attribute: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: usize) -> usize§clear_screen: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol) -> usize§set_cursor_position: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: usize, _: usize) -> usize§enable_cursor: extern "efiapi" fn(_: *mut SimpleTextOutputProtocol, _: bool) -> usize§mode: *const SimpleTextOutputModeAuto Trait Implementations§
impl Freeze for SimpleTextOutputProtocol
impl RefUnwindSafe for SimpleTextOutputProtocol
impl !Send for SimpleTextOutputProtocol
impl !Sync for SimpleTextOutputProtocol
impl Unpin for SimpleTextOutputProtocol
impl UnwindSafe for SimpleTextOutputProtocol
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