#[repr(transparent)]pub struct VirtioPciCapType(pub u8);Expand description
Virtio PCI capability config type.
Tuple Fields§
§0: u8Implementations§
Source§impl VirtioPciCapType
impl VirtioPciCapType
pub const COMMON_CFG: VirtioPciCapType
pub const NOTIFY_CFG: VirtioPciCapType
pub const ISR_CFG: VirtioPciCapType
pub const DEVICE_CFG: VirtioPciCapType
pub const SHARED_MEMORY_CFG: VirtioPciCapType
Trait Implementations§
Source§impl Clone for VirtioPciCapType
impl Clone for VirtioPciCapType
Source§fn clone(&self) -> VirtioPciCapType
fn clone(&self) -> VirtioPciCapType
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 VirtioPciCapType
impl Debug for VirtioPciCapType
Source§impl Hash for VirtioPciCapType
impl Hash for VirtioPciCapType
Source§impl Ord for VirtioPciCapType
impl Ord for VirtioPciCapType
Source§fn cmp(&self, other: &VirtioPciCapType) -> Ordering
fn cmp(&self, other: &VirtioPciCapType) -> 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 VirtioPciCapType
impl PartialEq for VirtioPciCapType
Source§impl PartialOrd for VirtioPciCapType
impl PartialOrd for VirtioPciCapType
impl Copy for VirtioPciCapType
impl Eq for VirtioPciCapType
impl StructuralPartialEq for VirtioPciCapType
Auto Trait Implementations§
impl Freeze for VirtioPciCapType
impl RefUnwindSafe for VirtioPciCapType
impl Send for VirtioPciCapType
impl Sync for VirtioPciCapType
impl Unpin for VirtioPciCapType
impl UnwindSafe for VirtioPciCapType
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