#[repr(transparent)]pub struct VirtioPciCommonCfg(pub u16);Expand description
Byte offsets within the virtio_pci_common_cfg structure,
accessed at u32-aligned boundaries.
Tuple Fields§
§0: u16Implementations§
Source§impl VirtioPciCommonCfg
impl VirtioPciCommonCfg
pub const DEVICE_FEATURE_SELECT: VirtioPciCommonCfg
pub const DEVICE_FEATURE: VirtioPciCommonCfg
pub const DRIVER_FEATURE_SELECT: VirtioPciCommonCfg
pub const DRIVER_FEATURE: VirtioPciCommonCfg
pub const MSIX_CONFIG: VirtioPciCommonCfg
pub const DEVICE_STATUS: VirtioPciCommonCfg
pub const QUEUE_SIZE: VirtioPciCommonCfg
pub const QUEUE_ENABLE: VirtioPciCommonCfg
pub const QUEUE_DESC_LO: VirtioPciCommonCfg
pub const QUEUE_DESC_HI: VirtioPciCommonCfg
pub const QUEUE_AVAIL_LO: VirtioPciCommonCfg
pub const QUEUE_AVAIL_HI: VirtioPciCommonCfg
pub const QUEUE_USED_LO: VirtioPciCommonCfg
pub const QUEUE_USED_HI: VirtioPciCommonCfg
Trait Implementations§
Source§impl Clone for VirtioPciCommonCfg
impl Clone for VirtioPciCommonCfg
Source§fn clone(&self) -> VirtioPciCommonCfg
fn clone(&self) -> VirtioPciCommonCfg
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 VirtioPciCommonCfg
impl Debug for VirtioPciCommonCfg
Source§impl Hash for VirtioPciCommonCfg
impl Hash for VirtioPciCommonCfg
Source§impl Ord for VirtioPciCommonCfg
impl Ord for VirtioPciCommonCfg
Source§fn cmp(&self, other: &VirtioPciCommonCfg) -> Ordering
fn cmp(&self, other: &VirtioPciCommonCfg) -> 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 VirtioPciCommonCfg
impl PartialEq for VirtioPciCommonCfg
Source§impl PartialOrd for VirtioPciCommonCfg
impl PartialOrd for VirtioPciCommonCfg
impl Copy for VirtioPciCommonCfg
impl Eq for VirtioPciCommonCfg
impl StructuralPartialEq for VirtioPciCommonCfg
Auto Trait Implementations§
impl Freeze for VirtioPciCommonCfg
impl RefUnwindSafe for VirtioPciCommonCfg
impl Send for VirtioPciCommonCfg
impl Sync for VirtioPciCommonCfg
impl Unpin for VirtioPciCommonCfg
impl UnwindSafe for VirtioPciCommonCfg
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