pub struct PcieCapabilitiesField(pub u16);
Tuple Fields§
§0: u16
Trait Implementations§
Source§impl<T> BitRange<T> for PcieCapabilitiesFieldwhere
u16: BitRange<T>,
impl<T> BitRange<T> for PcieCapabilitiesFieldwhere
u16: BitRange<T>,
Source§impl<T> BitRangeMut<T> for PcieCapabilitiesFieldwhere
u16: BitRangeMut<T>,
impl<T> BitRangeMut<T> for PcieCapabilitiesFieldwhere
u16: BitRangeMut<T>,
Source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Auto Trait Implementations§
impl Freeze for PcieCapabilitiesField
impl RefUnwindSafe for PcieCapabilitiesField
impl Send for PcieCapabilitiesField
impl Sync for PcieCapabilitiesField
impl Unpin for PcieCapabilitiesField
impl UnwindSafe for PcieCapabilitiesField
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