Struct r_efi::protocols::loaded_image::Protocol
source · #[repr(C)]pub struct Protocol {Show 13 fields
pub revision: u32,
pub parent_handle: Handle,
pub system_table: *mut SystemTable,
pub device_handle: Handle,
pub file_path: *mut Protocol,
pub reserved: *mut c_void,
pub load_options_size: u32,
pub load_options: *mut c_void,
pub image_base: *mut c_void,
pub image_size: u64,
pub image_code_type: MemoryType,
pub image_data_type: MemoryType,
pub unload: ProtocolUnload,
}
Fields§
§revision: u32
§parent_handle: Handle
§system_table: *mut SystemTable
§device_handle: Handle
§file_path: *mut Protocol
§reserved: *mut c_void
§load_options_size: u32
§load_options: *mut c_void
§image_base: *mut c_void
§image_size: u64
§image_code_type: MemoryType
§image_data_type: MemoryType
§unload: ProtocolUnload
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl !Send for Protocol
impl !Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
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