Struct everscale_types::models::Lazy
source · pub struct Lazy<C: CellFamily, T> { /* private fields */ }Expand description
Lazy-loaded model.
Implementations§
source§impl<C: CellFamily, T> Lazy<C, T>
impl<C: CellFamily, T> Lazy<C, T>
sourcepub fn from_raw(cell: CellContainer<C>) -> Self
pub fn from_raw(cell: CellContainer<C>) -> Self
Wraps the cell in a typed wrapper.
sourcepub fn into_inner(self) -> CellContainer<C>
pub fn into_inner(self) -> CellContainer<C>
Converts into the underlying cell.
sourcepub fn inner(&self) -> &CellContainer<C>
pub fn inner(&self) -> &CellContainer<C>
Returns the underlying cell.
source§impl<C: DefaultFinalizer, T: Store<C>> Lazy<C, T>
impl<C: DefaultFinalizer, T: Store<C>> Lazy<C, T>
Trait Implementations§
source§impl<C: CellFamily, T> Clone for Lazy<C, T>
impl<C: CellFamily, T> Clone for Lazy<C, T>
source§impl<C: CellFamily, T> Debug for Lazy<C, T>
impl<C: CellFamily, T> Debug for Lazy<C, T>
source§impl<'a, C: CellFamily, T> Load<'a, C> for Lazy<C, T>
impl<'a, C: CellFamily, T> Load<'a, C> for Lazy<C, T>
source§impl<C: CellFamily, T> PartialEq<Lazy<C, T>> for Lazy<C, T>
impl<C: CellFamily, T> PartialEq<Lazy<C, T>> for Lazy<C, T>
source§impl<C: CellFamily, T> Store<C> for Lazy<C, T>
impl<C: CellFamily, T> Store<C> for Lazy<C, T>
source§fn store_into(
&self,
builder: &mut CellBuilder<C>,
_: &mut dyn Finalizer<C>
) -> bool
fn store_into( &self, builder: &mut CellBuilder<C>, _: &mut dyn Finalizer<C> ) -> bool
Tries to store itself into the cell builder.