#[repr(transparent)]pub struct PrimarySecondary(pub u8);
Expand description
Whether the ATAPI device is primary or secondary.
Tuple Fields§
§0: u8
Implementations§
source§impl PrimarySecondary
impl PrimarySecondary
sourcepub const PRIMARY: PrimarySecondary = _
pub const PRIMARY: PrimarySecondary = _
Primary.
sourcepub const SECONDARY: PrimarySecondary = _
pub const SECONDARY: PrimarySecondary = _
Secondary.
Trait Implementations§
source§impl Clone for PrimarySecondary
impl Clone for PrimarySecondary
source§fn clone(&self) -> PrimarySecondary
fn clone(&self) -> PrimarySecondary
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 PrimarySecondary
impl Debug for PrimarySecondary
source§impl Hash for PrimarySecondary
impl Hash for PrimarySecondary
source§impl Ord for PrimarySecondary
impl Ord for PrimarySecondary
source§fn cmp(&self, other: &PrimarySecondary) -> Ordering
fn cmp(&self, other: &PrimarySecondary) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PrimarySecondary
impl PartialEq for PrimarySecondary
source§impl PartialOrd for PrimarySecondary
impl PartialOrd for PrimarySecondary
impl Copy for PrimarySecondary
impl Eq for PrimarySecondary
impl StructuralPartialEq for PrimarySecondary
Auto Trait Implementations§
impl Freeze for PrimarySecondary
impl RefUnwindSafe for PrimarySecondary
impl Send for PrimarySecondary
impl Sync for PrimarySecondary
impl Unpin for PrimarySecondary
impl UnwindSafe for PrimarySecondary
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§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
)