pub struct DownstreamPCIAttributes(/* private fields */);Expand description
Downstream PCI device attributes
Implementations§
Source§impl DownstreamPCIAttributes
impl DownstreamPCIAttributes
Sourcepub fn secondary_bus(&self) -> u8
pub fn secondary_bus(&self) -> u8
PCI secondary bus (= lowest downstream bus number)
Sourcepub fn subordinate_bus(&self) -> u8
pub fn subordinate_bus(&self) -> u8
PCI subordinate bus (= highest downstream bus number)
Trait Implementations§
Source§impl Arbitrary for DownstreamPCIAttributes
Available on crate feature proptest only.
impl Arbitrary for DownstreamPCIAttributes
Available on crate feature
proptest only.Source§type Parameters = <(u32, [u8; 2]) as Arbitrary>::Parameters
type Parameters = <(u32, [u8; 2]) as Arbitrary>::Parameters
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<<(u32, [u8; 2]) as Arbitrary>::Strategy, fn((u32, [u8; 2])) -> DownstreamPCIAttributes>
type Strategy = Map<<(u32, [u8; 2]) as Arbitrary>::Strategy, fn((u32, [u8; 2])) -> DownstreamPCIAttributes>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(args: Self::Parameters) -> Self::Strategy
fn arbitrary_with(args: Self::Parameters) -> Self::Strategy
Source§impl Clone for DownstreamPCIAttributes
impl Clone for DownstreamPCIAttributes
Source§fn clone(&self) -> DownstreamPCIAttributes
fn clone(&self) -> DownstreamPCIAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DownstreamPCIAttributes
impl Debug for DownstreamPCIAttributes
Source§impl Default for DownstreamPCIAttributes
impl Default for DownstreamPCIAttributes
Source§fn default() -> DownstreamPCIAttributes
fn default() -> DownstreamPCIAttributes
Returns the “default value” for a type. Read more
Source§impl Hash for DownstreamPCIAttributes
impl Hash for DownstreamPCIAttributes
Source§impl PartialEq for DownstreamPCIAttributes
impl PartialEq for DownstreamPCIAttributes
impl Copy for DownstreamPCIAttributes
impl Eq for DownstreamPCIAttributes
impl StructuralPartialEq for DownstreamPCIAttributes
Auto Trait Implementations§
impl Freeze for DownstreamPCIAttributes
impl RefUnwindSafe for DownstreamPCIAttributes
impl Send for DownstreamPCIAttributes
impl Sync for DownstreamPCIAttributes
impl Unpin for DownstreamPCIAttributes
impl UnwindSafe for DownstreamPCIAttributes
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