pub enum Cap<'a> {
Msi(MsiCap<'a>),
Msix(MsixCap<'a>),
Vendor(VendorCap<'a>),
Other(BaseCap<'a>),
}
Expand description
Enum representing supported capability types
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Cap<'a>
impl<'a> RefUnwindSafe for Cap<'a>
impl<'a> Send for Cap<'a>
impl<'a> Sync for Cap<'a>
impl<'a> Unpin for Cap<'a>
impl<'a> UnwindSafe for Cap<'a>
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