Struct uefi_raw::protocol::driver::ComponentName2Protocol
source · #[repr(C)]pub struct ComponentName2Protocol {
pub get_driver_name: unsafe extern "efiapi" fn(this: *const Self, language: *const u8, driver_name: *mut *const u16) -> Status,
pub get_controller_name: unsafe extern "efiapi" fn(this: *const Self, controller_handle: Handle, child_handle: Handle, language: *const u8, controller_name: *mut *const u16) -> Status,
pub supported_languages: *const u8,
}
Fields§
§get_driver_name: unsafe extern "efiapi" fn(this: *const Self, language: *const u8, driver_name: *mut *const u16) -> Status
§get_controller_name: unsafe extern "efiapi" fn(this: *const Self, controller_handle: Handle, child_handle: Handle, language: *const u8, controller_name: *mut *const u16) -> Status
§supported_languages: *const u8
Implementations§
source§impl ComponentName2Protocol
impl ComponentName2Protocol
pub const GUID: Guid = _
sourcepub const DEPRECATED_COMPONENT_NAME_GUID: Guid = _
pub const DEPRECATED_COMPONENT_NAME_GUID: Guid = _
GUID of the original EFI_COMPONENT_NAME_PROTOCOL
. This protocol was
deprecated in UEFI 2.1 in favor of the new
EFI_COMPONENT_NAME2_PROTOCOL
. The two protocols are identical
except the encoding of supported languages changed from ISO 639-2 to RFC
4646.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComponentName2Protocol
impl RefUnwindSafe for ComponentName2Protocol
impl !Send for ComponentName2Protocol
impl !Sync for ComponentName2Protocol
impl Unpin for ComponentName2Protocol
impl UnwindSafe for ComponentName2Protocol
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