#[repr(u32)]pub enum ClassMask {
Full = 16_777_215,
ClassSubclass = 16_776_960,
}
Expand description
PCI class mask constants for matching Class
codes.
Variants§
Full = 16_777_215
Match the full 24-bit class code.
ClassSubclass = 16_776_960
Match the upper 16 bits of the class code (base class and subclass only)
Implementations§
Trait Implementations§
impl Copy for ClassMask
impl Eq for ClassMask
impl StructuralPartialEq for ClassMask
Auto Trait Implementations§
impl Freeze for ClassMask
impl RefUnwindSafe for ClassMask
impl Send for ClassMask
impl Sync for ClassMask
impl Unpin for ClassMask
impl UnwindSafe for ClassMask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot
. Read more