Skip to main content

FixedIoLoc

Trait FixedIoLoc 

Source
pub trait FixedIoLoc<Base: ?Sized>: Sized {
    type Location: IoLoc<Base, Self>;

    const LOCATION: Self::Location;
}
Expand description

Trait implemented by types that indicate there is a fixed I/O location for this given type.

Implementors can be used with Io::write_reg.

Required Associated Constants§

Source

const LOCATION: Self::Location

Location of this type within given base.

Required Associated Types§

Source

type Location: IoLoc<Base, Self>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§