[−][src]Trait rustc_metadata::rmeta::encoder::EncodeContentsForLazy

pub(in rmeta::encoder) trait EncodeContentsForLazy<'a, 'tcx, T: ?Sized + LazyMeta> {
    pub(in rmeta::encoder) fn encode_contents_for_lazy(
        self,
        ecx: &mut EncodeContext<'a, 'tcx>
    ) -> T::Meta; }

Helper trait to allow overloading EncodeContext::lazy for iterators.

Required methods

pub(in rmeta::encoder) fn encode_contents_for_lazy(
    self,
    ecx: &mut EncodeContext<'a, 'tcx>
) -> T::Meta
[src]

Loading content...

Implementations on Foreign Types

impl<'a, 'tcx, T: Encodable<EncodeContext<'a, 'tcx>>, '_> EncodeContentsForLazy<'a, 'tcx, T> for &'_ T[src]

Loading content...

Implementors

impl<'a, 'tcx, I, T: Encodable<EncodeContext<'a, 'tcx>>> EncodeContentsForLazy<'a, 'tcx, [T]> for I where
    I: IntoIterator,
    I::Item: EncodeContentsForLazy<'a, 'tcx, T>, 
[src]

impl<'a, 'tcx, T: Encodable<EncodeContext<'a, 'tcx>>> EncodeContentsForLazy<'a, 'tcx, T> for T[src]

Loading content...