#[repr(transparent)]pub struct Input(pub u32);Expand description
SCT input register
Tuple Fields§
§0: u32Implementations§
Source§impl Input
impl Input
Sourcepub const fn ain(&self, n: usize) -> bool
pub const fn ain(&self, n: usize) -> bool
Input 0 state. Input 0 state on the last SCT clock edge.
Sourcepub const fn set_ain(&mut self, n: usize, val: bool)
pub const fn set_ain(&mut self, n: usize, val: bool)
Input 0 state. Input 0 state on the last SCT clock edge.
Trait Implementations§
impl Copy for Input
impl Eq for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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