Ptr

Trait Ptr 

Source
pub trait Ptr: Sealed {
    type RB;

    const PTR: *const Self::RB;

    // Provided method
    fn ptr() -> *const Self::RB { ... }
}

Required Associated Constants§

Source

const PTR: *const Self::RB

Pointer to the register block

Required Associated Types§

Source

type RB

RegisterBlock structure

Provided Methods§

Source

fn ptr() -> *const Self::RB

Return the pointer to the register block

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.

Implementations on Foreign Types§

Source§

impl<RB, const A: usize> Ptr for Periph<RB, A>

Source§

const PTR: *const Self::RB = Self::PTR

Source§

type RB = RB

Implementors§