Trait polkadot_sdk_frame::traits::Get
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.
Required Methods§
fn get() -> T
fn get() -> T
Return the current value.
Object Safety§
This trait is not object safe.