pub trait Get<T> {
// Required method
fn get() -> T;
}
Expand description
A trait for querying a single value from a type.
It is not required that the value is constant.
pub trait Get<T> {
// Required method
fn get() -> T;
}
A trait for querying a single value from a type.
It is not required that the value is constant.