[]Struct sunrise_ahci::hba::CmdHeaderFlags

pub struct CmdHeaderFlags(pub u16);

Command Header word 0.

Defined in section 4.2.2

Implementations

impl CmdHeaderFlags

fn pmp(&self) -> u16

fn set_pmp(&mut self, value: u16)

fn c(&self) -> bool

fn set_c(&mut self, value: bool)

fn b(&self) -> bool

fn set_b(&mut self, value: bool)

fn r(&self) -> bool

fn set_r(&mut self, value: bool)

fn p(&self) -> bool

fn set_p(&mut self, value: bool)

fn w(&self) -> bool

fn set_w(&mut self, value: bool)

fn a(&self) -> bool

fn set_a(&mut self, value: bool)

fn cfl(&self) -> u16

fn set_cfl(&mut self, value: u16)

Trait Implementations

impl<T> BitRange<T> for CmdHeaderFlags where
    u16: BitRange<T>, 

impl Clone for CmdHeaderFlags[src]

impl Copy for CmdHeaderFlags[src]

impl Debug for CmdHeaderFlags

Auto Trait Implementations

impl RefUnwindSafe for CmdHeaderFlags

impl Send for CmdHeaderFlags

impl Sync for CmdHeaderFlags

impl Unpin for CmdHeaderFlags

impl UnwindSafe for CmdHeaderFlags

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Bit for T where
    T: BitRange<u8>, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SizedIPCBuffer for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.