pub trait BaseWriteableRegister<T: UIntLike> {
type Reg: RegisterLongName;
const REG_WIDTH: usize;
// Required method
fn base_set(&self, value: T);
}Expand description
Trait to be implemented by custom register structs that support writing to them
§DO NOT USE DIRECTLY
This must be public to prevent generating a private_in_public
but really should not be used directly. Use Write instead, which
also incorporates this functionality.
Required Associated Constants§
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".