#[repr(transparent)]pub struct DataSrc(pub u32);Expand description
Data Source
Tuple Fields§
§0: u32Implementations§
Source§impl DataSrc
impl DataSrc
Sourcepub const fn set_src_dir(&mut self, val: bool)
pub const fn set_src_dir(&mut self, val: bool)
Data provided via the DIR register
Sourcepub const fn set_src_si(&mut self, val: bool)
pub const fn set_src_si(&mut self, val: bool)
Data provided via the SI interface
Trait Implementations§
impl Copy for DataSrc
impl Eq for DataSrc
impl StructuralPartialEq for DataSrc
Auto Trait Implementations§
impl Freeze for DataSrc
impl RefUnwindSafe for DataSrc
impl Send for DataSrc
impl Sync for DataSrc
impl Unpin for DataSrc
impl UnwindSafe for DataSrc
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