Struct abyss::dev::pci::Capability
source · pub struct Capability<'a, const V: usize> { /* private fields */ }
Expand description
Device’s capability.
Implementations§
source§impl<'a, const V: usize> Capability<'a, V>
impl<'a, const V: usize> Capability<'a, V>
sourcepub fn offset(&self, offset: u8) -> PciAccessor
pub fn offset(&self, offset: u8) -> PciAccessor
Get accessor to read/write the vendor specific capabilities.
Auto Trait Implementations§
impl<'a, const V: usize> RefUnwindSafe for Capability<'a, V>
impl<'a, const V: usize> Send for Capability<'a, V>
impl<'a, const V: usize> Sync for Capability<'a, V>
impl<'a, const V: usize> Unpin for Capability<'a, V>
impl<'a, const V: usize> UnwindSafe for Capability<'a, V>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more