pub trait RawReg:
Copy
+ From<bool>
+ BitOr<Output = Self>
+ BitAnd<Output = Self>
+ BitOrAssign
+ BitAndAssign
+ Not<Output = Self>
+ Shl<u8, Output = Self> {
const ZERO: Self;
const ONE: Self;
// Required method
fn mask<const WI: u8>() -> Self;
}
Expand description
Raw register type (u8
, u16
, u32
, …)
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.