#[repr(transparent)]pub struct MessageControl(_);
Expand description
Message Control.
Implementations§
source§impl MessageControl
impl MessageControl
sourcepub fn msi_x_enable(self) -> bool
pub fn msi_x_enable(self) -> bool
Returns the MSI-X Enable bit.
sourcepub fn set_msi_x_enable(&mut self) -> &mut Self
pub fn set_msi_x_enable(&mut self) -> &mut Self
Sets the MSI-X Enable bit.
sourcepub fn clear_msi_x_enable(&mut self) -> &mut Self
pub fn clear_msi_x_enable(&mut self) -> &mut Self
Clears the MSI-X Enable bit.
sourcepub fn table_size(self) -> u16
pub fn table_size(self) -> u16
Returns the value of the Table Size field.
Trait Implementations§
source§impl Clone for MessageControl
impl Clone for MessageControl
source§fn clone(&self) -> MessageControl
fn clone(&self) -> MessageControl
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 MessageControl
impl Debug for MessageControl
impl Copy for MessageControl
Auto Trait Implementations§
impl RefUnwindSafe for MessageControl
impl Send for MessageControl
impl Sync for MessageControl
impl Unpin for MessageControl
impl UnwindSafe for MessageControl
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