#[repr(C)]pub struct DevicePathUtilitiesProtocol {
pub get_device_path_size: unsafe extern "efiapi" fn(device_path: *const DevicePathProtocol) -> usize,
pub duplicate_device_path: unsafe extern "efiapi" fn(device_path: *const DevicePathProtocol) -> *const DevicePathProtocol,
pub append_device_path: unsafe extern "efiapi" fn(src1: *const DevicePathProtocol, src2: *const DevicePathProtocol) -> *const DevicePathProtocol,
pub append_device_node: unsafe extern "efiapi" fn(device_path: *const DevicePathProtocol, device_node: *const DevicePathProtocol) -> *const DevicePathProtocol,
pub append_device_path_instance: unsafe extern "efiapi" fn(device_path: *const DevicePathProtocol, device_path_instance: *const DevicePathProtocol) -> *const DevicePathProtocol,
pub get_next_device_path_instance: unsafe extern "efiapi" fn(device_path_instance: *mut *const DevicePathProtocol, device_path_instance_size: *mut usize) -> *const DevicePathProtocol,
pub is_device_path_multi_instance: unsafe extern "efiapi" fn(device_path: *const DevicePathProtocol) -> Boolean,
pub create_device_node: unsafe extern "efiapi" fn(node_type: DeviceType, node_sub_type: DeviceSubType, node_length: u16) -> *const DevicePathProtocol,
}Fields§
§get_device_path_size: unsafe extern "efiapi" fn(device_path: *const DevicePathProtocol) -> usize§duplicate_device_path: unsafe extern "efiapi" fn(device_path: *const DevicePathProtocol) -> *const DevicePathProtocol§append_device_path: unsafe extern "efiapi" fn(src1: *const DevicePathProtocol, src2: *const DevicePathProtocol) -> *const DevicePathProtocol§append_device_node: unsafe extern "efiapi" fn(device_path: *const DevicePathProtocol, device_node: *const DevicePathProtocol) -> *const DevicePathProtocol§append_device_path_instance: unsafe extern "efiapi" fn(device_path: *const DevicePathProtocol, device_path_instance: *const DevicePathProtocol) -> *const DevicePathProtocol§get_next_device_path_instance: unsafe extern "efiapi" fn(device_path_instance: *mut *const DevicePathProtocol, device_path_instance_size: *mut usize) -> *const DevicePathProtocol§is_device_path_multi_instance: unsafe extern "efiapi" fn(device_path: *const DevicePathProtocol) -> Boolean§create_device_node: unsafe extern "efiapi" fn(node_type: DeviceType, node_sub_type: DeviceSubType, node_length: u16) -> *const DevicePathProtocolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DevicePathUtilitiesProtocol
impl RefUnwindSafe for DevicePathUtilitiesProtocol
impl Send for DevicePathUtilitiesProtocol
impl Sync for DevicePathUtilitiesProtocol
impl Unpin for DevicePathUtilitiesProtocol
impl UnwindSafe for DevicePathUtilitiesProtocol
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