pub trait HasReadonly { type Readonly; // Required method fn readonly(&self) -> Self::Readonly; }
A trait for types that have a readonly version.
The readonly version of the type.
Converts the type to its readonly version.