pub struct R<ValueType, RegisterType>where
ValueType: Copy + Not<Output = ValueType> + BitAnd<Output = ValueType> + BitOr<Output = ValueType>,
RegisterType: Register<RegisterType = RegisterType, ValueType = ValueType>,{ /* private fields */ }Expand description
Register data holder, abstracts interaction with actual hardware
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<ValueType, RegisterType> Freeze for R<ValueType, RegisterType>where
ValueType: Freeze,
impl<ValueType, RegisterType> !RefUnwindSafe for R<ValueType, RegisterType>
impl<ValueType, RegisterType> !Send for R<ValueType, RegisterType>
impl<ValueType, RegisterType> !Sync for R<ValueType, RegisterType>
impl<ValueType, RegisterType> Unpin for R<ValueType, RegisterType>
impl<ValueType, RegisterType> !UnwindSafe for R<ValueType, RegisterType>
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