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

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

A trait for querying a single fixed value from a type.

Required methods

fn get() -> T

Return a constant value.

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...