Struct r_efi::protocols::device_path::HardDriveMedia
source · #[repr(C, packed(1))]pub struct HardDriveMedia {
pub header: Protocol,
pub partition_number: u32,
pub partition_start: u64,
pub partition_size: u64,
pub partition_signature: [u8; 16],
pub partition_format: u8,
pub signature_type: u8,
}Fields§
§header: Protocol§partition_number: u32§partition_start: u64§partition_size: u64§partition_signature: [u8; 16]§partition_format: u8§signature_type: u8Trait Implementations§
source§impl Clone for HardDriveMedia
impl Clone for HardDriveMedia
source§fn clone(&self) -> HardDriveMedia
fn clone(&self) -> HardDriveMedia
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HardDriveMedia
impl Debug for HardDriveMedia
impl Copy for HardDriveMedia
Auto Trait Implementations§
impl Freeze for HardDriveMedia
impl RefUnwindSafe for HardDriveMedia
impl Send for HardDriveMedia
impl Sync for HardDriveMedia
impl Unpin for HardDriveMedia
impl UnwindSafe for HardDriveMedia
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)