#[repr(transparent)]pub struct MbrOsType(pub u8);
Expand description
MBR OS type.
Only two values are defined in the UEFI specification, other values are used by legacy operating systems.
Tuple Fields
0: u8
Implementations
sourceimpl MbrOsType
impl MbrOsType
sourcepub const GPT_PROTECTIVE: MbrOsType
pub const GPT_PROTECTIVE: MbrOsType
A fake partition covering the entire disk.
sourcepub const UEFI_SYSTEM_PARTITION: MbrOsType
pub const UEFI_SYSTEM_PARTITION: MbrOsType
UEFI system partition.
Trait Implementations
impl Copy for MbrOsType
impl Eq for MbrOsType
impl StructuralEq for MbrOsType
impl StructuralPartialEq for MbrOsType
Auto Trait Implementations
impl RefUnwindSafe for MbrOsType
impl Send for MbrOsType
impl Sync for MbrOsType
impl Unpin for MbrOsType
impl UnwindSafe for MbrOsType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more