Struct stm32_metapac::common::Reg
pub struct Reg<T: Copy, A: Access> { /* private fields */ }
Implementations§
§impl<T: Copy, A: Write> Reg<T, A>
impl<T: Copy, A: Write> Reg<T, A>
pub fn write_value(&self, val: T)
Trait Implementations§
impl<T: Copy + Copy, A: Copy + Access> Copy for Reg<T, A>
impl<T: Eq + Copy, A: Eq + Access> Eq for Reg<T, A>
impl<T: Copy, A: Access> Send for Reg<T, A>
impl<T: Copy, A: Access> StructuralEq for Reg<T, A>
impl<T: Copy, A: Access> StructuralPartialEq for Reg<T, A>
impl<T: Copy, A: Access> Sync for Reg<T, A>
Auto Trait Implementations§
impl<T, A> RefUnwindSafe for Reg<T, A>where
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, A> Unpin for Reg<T, A>
impl<T, A> UnwindSafe for Reg<T, A>where
A: RefUnwindSafe,
T: RefUnwindSafe,
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