Struct DevicePathToTextProtocol
Source #[repr(C)]
pub struct DevicePathToTextProtocol {
pub convert_device_node_to_text: unsafe extern "efiapi" fn(device_node: *const DevicePathProtocol, display_only: bool, allow_shortcuts: bool) -> *const Char16,
pub convert_device_path_to_text: unsafe extern "efiapi" fn(device_path: *const DevicePathProtocol, display_only: bool, allow_shortcuts: bool) -> *const Char16,
}
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.