Skip to main content

Register

Trait Register 

Source
pub trait Register {
    type Address;

    const ADDRESS: Self::Address;
}
Expand description

Trait of a register containing an address

Required Associated Constants§

Source

const ADDRESS: Self::Address

The address of the register

Required Associated Types§

Source

type Address

Type of the adress, can be used to constrain the registers accepted

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§