#[repr(u8)]pub enum RnW {
W = 0,
R = 1,
}Expand description
Encode if an SWD transaction is a read or a write.
Variants§
Trait Implementations§
Source§impl TryFromPrimitive for RnW
impl TryFromPrimitive for RnW
impl Copy for RnW
impl Eq for RnW
impl StructuralPartialEq for RnW
Auto Trait Implementations§
impl Freeze for RnW
impl RefUnwindSafe for RnW
impl Send for RnW
impl Sync for RnW
impl Unpin for RnW
impl UnwindSafe for RnW
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