pub trait PortValue:
Sized
+ Copy
+ From<Self::I>
+ Into<Self::I> {
type I: PortRaw;
}
Expand description
A value that can be written/read to/from IO ports.
It has to be convertible from/into the raw integer specified in PortValue::I.
Required Associated Types§
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.