Skip to main content

MetaDecoder

Trait MetaDecoder 

Source
pub(super) trait MetaDecoder: Copy {
    type Context: BlobDecoder + LazyDecoder;

    // Required method
    fn decoder(self, pos: usize) -> Self::Context;
}

Required Associated Types§

Required Methods§

Source

fn decoder(self, pos: usize) -> Self::Context

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, 'tcx> MetaDecoder for (&'a CrateMetadata, TyCtxt<'tcx>)

Implementors§