pub trait RegisterWriteAccess<M: Mmio + ?Sized> {
type WriteProxy<'a>
where M: 'a;
// Required method
fn get_write_proxy<'a>(mmio: &'a mut M) -> Self::WriteProxy<'a>;
}Expand description
A trait that allows a register to define its default write proxy type.
Required Associated Types§
Sourcetype WriteProxy<'a>
where
M: 'a
type WriteProxy<'a> where M: 'a
The proxy type used to write this register.
Required Methods§
Sourcefn get_write_proxy<'a>(mmio: &'a mut M) -> Self::WriteProxy<'a>
fn get_write_proxy<'a>(mmio: &'a mut M) -> Self::WriteProxy<'a>
Creates a new write proxy for this register using the provided MMIO region.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".