Struct pci_driver::regions::structured::PciBitsReadOnly
source · [−]pub struct PciBitsReadOnly<'a, T, U> where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue, { /* private fields */ }Expand description
A read-only sequence of bits that is part of a PCI register.
Implementations
sourceimpl<'a, T, U> PciBitsReadOnly<'a, T, U> where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue,
impl<'a, T, U> PciBitsReadOnly<'a, T, U> where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue,
Trait Implementations
sourceimpl<'a, T: Clone, U: Clone> Clone for PciBitsReadOnly<'a, T, U> where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue,
impl<'a, T: Clone, U: Clone> Clone for PciBitsReadOnly<'a, T, U> where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue,
sourcefn clone(&self) -> PciBitsReadOnly<'a, T, U>
fn clone(&self) -> PciBitsReadOnly<'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 PciBitsReadOnly<'_, T, U> where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue,
impl<T, U> Debug for PciBitsReadOnly<'_, T, U> where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue,
impl<'a, T: Copy, U: Copy> Copy for PciBitsReadOnly<'a, T, U> where
T: PciRegisterValue + TryInto<U>,
T::Error: Debug,
U: PciRegisterValue,
Auto Trait Implementations
impl<'a, T, U> !RefUnwindSafe for PciBitsReadOnly<'a, T, U>
impl<'a, T, U> Send for PciBitsReadOnly<'a, T, U> where
T: Send,
U: Send,
impl<'a, T, U> Sync for PciBitsReadOnly<'a, T, U> where
T: Sync,
U: Sync,
impl<'a, T, U> Unpin for PciBitsReadOnly<'a, T, U> where
T: Unpin,
U: Unpin,
impl<'a, T, U> !UnwindSafe for PciBitsReadOnly<'a, T, U>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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