Register

Trait Register 

Source
pub trait Register {
    // Required methods
    fn new(id: u32) -> Self;
    fn id(&self) -> u32;
    fn valid(&self) -> bool;
}

Required Methods§

Source

fn new(id: u32) -> Self

Source

fn id(&self) -> u32

Source

fn valid(&self) -> bool

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.

Implementors§