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

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

A lazy value.

Required methods

pub fn get(&mut self) -> &T

Get a reference to the underlying value.

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

Loading content...

Implementations on Foreign Types

impl<'a> Lazy<[u8]> for &'a [u8][src]

Loading content...


Loading content...