Trait polkadot_service::runtime_traits::Lazy[][src]

pub trait Lazy<T> where
    T: ?Sized
{ fn get(&mut self) -> &T; }
Expand description

A lazy value.

Required methods

Get a reference to the underlying value.

This will compute the value if the function is invoked for the first time.

Implementations on Foreign Types

Implementors