Struct devices::pit::SpeakerPortFields
source · #[repr(C)]pub struct SpeakerPortFields {
data: [u8; 1],
}
Fields§
§data: [u8; 1]
Implementations§
source§impl SpeakerPortFields
impl SpeakerPortFields
pub fn new() -> SpeakerPortFields
source§impl SpeakerPortFields
impl SpeakerPortFields
pub fn get_gate(&self) -> <BitField1 as BitFieldSpecifier>::GetterType
pub fn set_gate(&mut self, val: <BitField1 as BitFieldSpecifier>::SetterType)
pub fn get_speaker_on(&self) -> <BitField1 as BitFieldSpecifier>::GetterType
pub fn set_speaker_on( &mut self, val: <BitField1 as BitFieldSpecifier>::SetterType )
pub fn get_pic_serr(&self) -> <BitField1 as BitFieldSpecifier>::GetterType
pub fn set_pic_serr( &mut self, val: <BitField1 as BitFieldSpecifier>::SetterType )
pub fn get_iochk_enable(&self) -> <BitField1 as BitFieldSpecifier>::GetterType
pub fn set_iochk_enable( &mut self, val: <BitField1 as BitFieldSpecifier>::SetterType )
pub fn get_refresh_clock(&self) -> <BitField1 as BitFieldSpecifier>::GetterType
pub fn set_refresh_clock( &mut self, val: <BitField1 as BitFieldSpecifier>::SetterType )
pub fn get_output(&self) -> <BitField1 as BitFieldSpecifier>::GetterType
pub fn set_output(&mut self, val: <BitField1 as BitFieldSpecifier>::SetterType)
pub fn get_iochk_nmi(&self) -> <BitField1 as BitFieldSpecifier>::GetterType
pub fn set_iochk_nmi( &mut self, val: <BitField1 as BitFieldSpecifier>::SetterType )
pub fn get_serr_nmi(&self) -> <BitField1 as BitFieldSpecifier>::GetterType
pub fn set_serr_nmi( &mut self, val: <BitField1 as BitFieldSpecifier>::SetterType )
Trait Implementations§
source§impl Clone for SpeakerPortFields
impl Clone for SpeakerPortFields
source§fn clone(&self) -> SpeakerPortFields
fn clone(&self) -> SpeakerPortFields
Returns a copy 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 SpeakerPortFields
impl Debug for SpeakerPortFields
source§impl PartialEq for SpeakerPortFields
impl PartialEq for SpeakerPortFields
source§fn eq(&self, other: &SpeakerPortFields) -> bool
fn eq(&self, other: &SpeakerPortFields) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpeakerPortFields
impl Eq for SpeakerPortFields
impl StructuralPartialEq for SpeakerPortFields
Auto Trait Implementations§
impl RefUnwindSafe for SpeakerPortFields
impl Send for SpeakerPortFields
impl Sync for SpeakerPortFields
impl Unpin for SpeakerPortFields
impl UnwindSafe for SpeakerPortFields
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
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>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
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.