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

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

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

Required methods

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...