Struct devices::pci::ac97_bus_master::Ac97BusMasterRegs
source · struct Ac97BusMasterRegs {
pi_regs: Ac97FunctionRegs,
po_regs: Ac97FunctionRegs,
po_pointer_update_time: Instant,
mc_regs: Ac97FunctionRegs,
glob_cnt: u32,
glob_sta: u32,
irq_evt: Option<IrqLevelEvent>,
}
Fields§
§pi_regs: Ac97FunctionRegs
§po_regs: Ac97FunctionRegs
§po_pointer_update_time: Instant
§mc_regs: Ac97FunctionRegs
§glob_cnt: u32
§glob_sta: u32
§irq_evt: Option<IrqLevelEvent>
Implementations§
source§impl Ac97BusMasterRegs
impl Ac97BusMasterRegs
fn new() -> Ac97BusMasterRegs
fn func_regs(&self, func: Ac97Function) -> &Ac97FunctionRegs
fn func_regs_mut(&mut self, func: Ac97Function) -> &mut Ac97FunctionRegs
fn tube_count(&self, func: Ac97Function) -> usize
Auto Trait Implementations§
impl RefUnwindSafe for Ac97BusMasterRegs
impl Send for Ac97BusMasterRegs
impl Sync for Ac97BusMasterRegs
impl Unpin for Ac97BusMasterRegs
impl UnwindSafe for Ac97BusMasterRegs
Blanket Implementations§
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.