Enum pci::BAR
[−]
[src]
pub enum BAR { Memory(u64, u32, Prefetchable, Type), IO(u32), }
Variants
Memory(u64, u32, Prefetchable, Type)
IO(u32)
Methods
impl BAR
[src]
fn decode<T: PortOps>(
ops: &T,
loc: Location,
am: CSpaceAccessMethod,
idx: u16
) -> (Option<BAR>, usize)
ops: &T,
loc: Location,
am: CSpaceAccessMethod,
idx: u16
) -> (Option<BAR>, usize)
Trait Implementations
impl Copy for BAR
[src]
impl Clone for BAR
[src]
fn clone(&self) -> BAR
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for BAR
[src]
fn eq(&self, __arg_0: &BAR) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BAR) -> bool
This method tests for !=
.