pub trait Prescribable {
type Value;
// Required method
fn prescription(value: Self::Value) -> Prescription;
}Expand description
A component that can be held at a value.
A displacement is held at a distance from its initial value, and a field at its value.
Required Associated Types§
Required Methods§
fn prescription(value: Self::Value) -> Prescription
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".