Struct riot_sys::CONTROL_Type__bindgen_ty_1
source · #[repr(C)]#[repr(align(4))]pub struct CONTROL_Type__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}
Fields§
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
Implementations§
source§impl CONTROL_Type__bindgen_ty_1
impl CONTROL_Type__bindgen_ty_1
pub fn nPRIV(&self) -> u32
pub fn set_nPRIV(&mut self, val: u32)
pub fn SPSEL(&self) -> u32
pub fn set_SPSEL(&mut self, val: u32)
pub fn FPCA(&self) -> u32
pub fn set_FPCA(&mut self, val: u32)
pub fn _reserved0(&self) -> u32
pub fn set__reserved0(&mut self, val: u32)
pub fn new_bitfield_1( nPRIV: u32, SPSEL: u32, FPCA: u32, _reserved0: u32 ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
source§impl Clone for CONTROL_Type__bindgen_ty_1
impl Clone for CONTROL_Type__bindgen_ty_1
source§fn clone(&self) -> CONTROL_Type__bindgen_ty_1
fn clone(&self) -> CONTROL_Type__bindgen_ty_1
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 CONTROL_Type__bindgen_ty_1
impl Debug for CONTROL_Type__bindgen_ty_1
source§impl Default for CONTROL_Type__bindgen_ty_1
impl Default for CONTROL_Type__bindgen_ty_1
source§fn default() -> CONTROL_Type__bindgen_ty_1
fn default() -> CONTROL_Type__bindgen_ty_1
Returns the “default value” for a type. Read more
impl Copy for CONTROL_Type__bindgen_ty_1
Auto Trait Implementations§
impl RefUnwindSafe for CONTROL_Type__bindgen_ty_1
impl Send for CONTROL_Type__bindgen_ty_1
impl Sync for CONTROL_Type__bindgen_ty_1
impl Unpin for CONTROL_Type__bindgen_ty_1
impl UnwindSafe for CONTROL_Type__bindgen_ty_1
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