Struct GraphicsOutputProtocol
Source #[repr(C)]
pub struct GraphicsOutputProtocol {
pub query_mode: unsafe extern "efiapi" fn(_: *const Self, mode_number: u32, size_of_info: *mut usize, info: *mut *const GraphicsOutputModeInformation) -> Status,
pub set_mode: unsafe extern "efiapi" fn(_: *mut Self, mode_number: u32) -> Status,
pub blt: unsafe extern "efiapi" fn(_: *mut Self, blt_buffer: *mut GraphicsOutputBltPixel, blt_operation: GraphicsOutputBltOperation, source_x: usize, source_y: usize, destination_x: usize, destination_y: usize, width: usize, height: usize, delta: usize) -> Status,
pub mode: *mut GraphicsOutputProtocolMode,
}
Formats the value using the given formatter.
Read more
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.