Struct pci_driver::regions::structured::PciBitsReadWrite
source · [−]pub struct PciBitsReadWrite<'a, T, U>where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue + Into<T>,{ /* private fields */ }Expand description
A read-write sequence of bits that is part of a PCI register.
Implementations
sourceimpl<'a, T, U> PciBitsReadWrite<'a, T, U>where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue + Into<T>,
impl<'a, T, U> PciBitsReadWrite<'a, T, U>where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue + Into<T>,
Trait Implementations
sourceimpl<'a, T: Clone, U: Clone> Clone for PciBitsReadWrite<'a, T, U>where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue + Into<T>,
impl<'a, T: Clone, U: Clone> Clone for PciBitsReadWrite<'a, T, U>where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue + Into<T>,
sourcefn clone(&self) -> PciBitsReadWrite<'a, T, U>
fn clone(&self) -> PciBitsReadWrite<'a, T, U>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<T, U> Debug for PciBitsReadWrite<'_, T, U>where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue + Into<T>,
impl<T, U> Debug for PciBitsReadWrite<'_, T, U>where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue + Into<T>,
impl<'a, T: Copy, U: Copy> Copy for PciBitsReadWrite<'a, T, U>where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue + Into<T>,
Auto Trait Implementations
impl<'a, T, U> !RefUnwindSafe for PciBitsReadWrite<'a, T, U>
impl<'a, T, U> Send for PciBitsReadWrite<'a, T, U>where
T: Send,
U: Send,
impl<'a, T, U> Sync for PciBitsReadWrite<'a, T, U>where
T: Sync,
U: Sync,
impl<'a, T, U> Unpin for PciBitsReadWrite<'a, T, U>where
T: Unpin,
U: Unpin,
impl<'a, T, U> !UnwindSafe for PciBitsReadWrite<'a, T, U>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more