pub struct RegisterDebugValue<T, E>where
T: UIntLike,
E: RegisterDebugInfo<T>,{ /* private fields */ }
Expand description
RegisterDebugValue
captures a register’s value and implements
fmt::Debug
to provide a human-readable representation of the register
state.
Its usage incurs the inclusion of additional data into the final binary,
such as the names of all register fields and defined field value variants
(see crate::fields::Field::read_as_enum
).
This type contains a local copy of the register value used for providing debug information. It will not access the actual backing register.
Trait Implementations§
Auto Trait Implementations§
impl<T, E> Freeze for RegisterDebugValue<T, E>where
T: Freeze,
impl<T, E> RefUnwindSafe for RegisterDebugValue<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for RegisterDebugValue<T, E>
impl<T, E> Sync for RegisterDebugValue<T, E>
impl<T, E> Unpin for RegisterDebugValue<T, E>
impl<T, E> UnwindSafe for RegisterDebugValue<T, E>where
T: UnwindSafe,
E: UnwindSafe,
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