pub trait TypedGet {
    type Type;

    fn get() -> Self::Type;
}
Expand description

A trait for querying a single value from a type defined in the trait.

It is not required that the value is constant.

Required Associated Types§

The type which is returned.

Required Methods§

Return the current value.

Implementors§

impl TypedGet for Version

impl TypedGet for Burn

impl TypedGet for PotId

impl TypedGet for Period

impl TypedGet for Offset

impl TypedGet for Kusama

impl TypedGet for Version

impl TypedGet for Period

impl TypedGet for Offset

impl TypedGet for Burn

impl TypedGet for MaxKeys

impl TypedGet for Prefix

impl TypedGet for Version

impl TypedGet for Burn

impl TypedGet for MaxKeys

impl TypedGet for Prefix

impl TypedGet for Rococo

impl TypedGet for Version

impl TypedGet for MaxKeys

impl TypedGet for Period

impl TypedGet for Version

impl TypedGet for Version

impl TypedGet for Period

impl TypedGet for Offset

impl TypedGet for MaxKeys