Skip to main content

BaseAddress

Trait BaseAddress 

Source
pub trait BaseAddress {
    // Required method
    fn ptr(&self) -> *const ();
}
Expand description

Types that would represent a base address of peripheral.

Required Methods§

Source

fn ptr(&self) -> *const ()

Return pointer representation of this base address.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§