#[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,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.