Register

Trait Register 

Source
pub trait Register: Copy {
    const ADDRESS: u8;

    // Required method
    fn into_bits(self) -> u8;
}
Expand description

A trait for nRF24L01+ registers.

Required Associated Constants§

Source

const ADDRESS: u8

Register address.

Required Methods§

Source

fn into_bits(self) -> u8

Convert register to bits.

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§