Struct uefi_raw::protocol::console::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,
}
Fields§
§query_mode: unsafe extern "efiapi" fn(_: *const Self, mode_number: u32, size_of_info: *mut usize, info: *mut *const GraphicsOutputModeInformation) -> Status
§set_mode: unsafe extern "efiapi" fn(_: *mut Self, mode_number: u32) -> Status
§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
§mode: *mut GraphicsOutputProtocolMode
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphicsOutputProtocol
impl RefUnwindSafe for GraphicsOutputProtocol
impl !Send for GraphicsOutputProtocol
impl !Sync for GraphicsOutputProtocol
impl Unpin for GraphicsOutputProtocol
impl UnwindSafe for GraphicsOutputProtocol
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