pub trait RawReg:
Copy
+ Default
+ From<bool>
+ BitOr<Output = Self>
+ BitAnd<Output = Self>
+ BitOrAssign
+ BitAndAssign
+ Not<Output = Self>
+ Shl<u8, Output = Self> {
// Required methods
fn mask<const WI: u8>() -> Self;
fn one() -> Self;
}
Expand description
Raw register type (u8
, u16
, u32
, …)
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.