Trait rustc_metadata::rmeta::LazyMeta[][src]

trait LazyMeta {
    type Meta: Copy + 'static;
    fn min_size(meta: Self::Meta) -> usize;
}
Expand description

Additional metadata for a Lazy<T> where T may not be Sized, e.g. for Lazy<[T]>, this is the length (count of T values).

Associated Types

Required methods

Returns the minimum encoded size.

Implementations on Foreign Types

Implementors