pub struct MsiXLocation(pub u32);Expand description
The table and pending bit array are stored inside a BAR. The BAR index and offset inside the BAR are encoded in a `u32``. PCI Local Bus Specification Rev. 3.0 -> 6.8.2.4. Table Offset/Table BIR for MSI-X
Tuple Fields§
§0: u32Implementations§
Source§impl MsiXLocation
impl MsiXLocation
pub fn offset_in_bar(&self) -> u32
Trait Implementations§
Source§impl<T> BitRange<T> for MsiXLocation
impl<T> BitRange<T> for MsiXLocation
Source§impl<T> BitRangeMut<T> for MsiXLocationwhere
u32: BitRangeMut<T>,
impl<T> BitRangeMut<T> for MsiXLocationwhere
u32: BitRangeMut<T>,
Source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Source§impl Clone for MsiXLocation
impl Clone for MsiXLocation
Source§fn clone(&self) -> MsiXLocation
fn clone(&self) -> MsiXLocation
Returns a duplicate 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 MsiXLocation
impl Debug for MsiXLocation
impl Copy for MsiXLocation
Auto Trait Implementations§
impl Freeze for MsiXLocation
impl RefUnwindSafe for MsiXLocation
impl Send for MsiXLocation
impl Sync for MsiXLocation
impl Unpin for MsiXLocation
impl UnwindSafe for MsiXLocation
Blanket Implementations§
Source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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