Struct protobuf::lazy::Lazy [] [src]

pub struct Lazy<T> { /* fields omitted */ }

Lasily initialized data.

Methods

impl<T> Lazy<T>
[src]

[src]

Get lazy field value, initialize it with given function if not yet.

Trait Implementations

Auto Trait Implementations

impl<T> !Send for Lazy<T>

impl<T> !Sync for Lazy<T>