#[repr(C)]pub struct SimpleTextOutputProtocol {
pub reset: unsafe extern "efiapi" fn(this: *mut Self, extended: bool) -> Status,
pub output_string: unsafe extern "efiapi" fn(this: *mut Self, string: *const Char16) -> Status,
pub test_string: unsafe extern "efiapi" fn(this: *mut Self, string: *const Char16) -> Status,
pub query_mode: unsafe extern "efiapi" fn(this: *mut Self, mode: usize, columns: *mut usize, rows: *mut usize) -> Status,
pub set_mode: unsafe extern "efiapi" fn(this: *mut Self, mode: usize) -> Status,
pub set_attribute: unsafe extern "efiapi" fn(this: *mut Self, attribute: usize) -> Status,
pub clear_screen: unsafe extern "efiapi" fn(this: *mut Self) -> Status,
pub set_cursor_position: unsafe extern "efiapi" fn(this: *mut Self, column: usize, row: usize) -> Status,
pub enable_cursor: unsafe extern "efiapi" fn(this: *mut Self, visible: bool) -> Status,
pub mode: *mut SimpleTextOutputMode,
}
Fields§
§reset: unsafe extern "efiapi" fn(this: *mut Self, extended: bool) -> Status
§output_string: unsafe extern "efiapi" fn(this: *mut Self, string: *const Char16) -> Status
§test_string: unsafe extern "efiapi" fn(this: *mut Self, string: *const Char16) -> Status
§query_mode: unsafe extern "efiapi" fn(this: *mut Self, mode: usize, columns: *mut usize, rows: *mut usize) -> Status
§set_mode: unsafe extern "efiapi" fn(this: *mut Self, mode: usize) -> Status
§set_attribute: unsafe extern "efiapi" fn(this: *mut Self, attribute: usize) -> Status
§clear_screen: unsafe extern "efiapi" fn(this: *mut Self) -> Status
§set_cursor_position: unsafe extern "efiapi" fn(this: *mut Self, column: usize, row: usize) -> Status
§enable_cursor: unsafe extern "efiapi" fn(this: *mut Self, visible: bool) -> Status
§mode: *mut SimpleTextOutputMode
Implementations§
Trait Implementations§
Auto 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