Trait sp_runtime::traits::Lazy[][src]

pub trait Lazy<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