Trait frame_support::traits::Get[][src]

pub trait Get<T> {
    fn get() -> T;
}

A trait for querying a single value from a type.

It is not required that the value is constant.

Required methods

fn get() -> T[src]

Return the current value.

Loading content...

Implementations on Foreign Types

impl<T: Default> Get<T> for ()[src]

Loading content...

Implementors

impl<I: From<RuntimeDbWeight>> Get<I> for ParityDbWeight[src]

impl<I: From<RuntimeDbWeight>> Get<I> for RocksDbWeight[src]

impl<I: From<Weight>> Get<I> for BlockExecutionWeight[src]

impl<I: From<Weight>> Get<I> for ExtrinsicBaseWeight[src]

Loading content...