pub fn as_view(
        &self,
    ) -> LookupDecoderModel<
        Symbol,
        Probability,
        NonContiguousSymbolTable<&[(Probability, Symbol)]>,
        &[Probability],
        PRECISION,
    > {
        LookupDecoderModel {
            lookup_table: self.lookup_table.as_ref(),
            cdf: NonContiguousSymbolTable(self.cdf.0.as_ref()),
            phantom: PhantomData,
        }
    }
/// Makes a very cheap shallow copy of the model that can be used much like a shared
/// reference.
///
/// The returned `LookupDecoderModel` implements `Copy`, which is a requirement for some
/// methods, such as [`Decode::decode_iid_symbols`]. These methods could also accept a
/// shared reference to a `NonContiguousCategoricalDecoderModel` (since all references
/// to entropy models are also entropy models, and all shared references implement
/// `Copy`), but passing a *view* instead may be slightly more efficient because it
/// avoids one level of dereferencing.
///
/// [`Decode::decode_iid_symbols`]: super::Decode::decode_iid_symbols
Makes a very cheap shallow copy of the model that can be used much like a shared
reference.




Makes a very cheap shallow copy of the model that can be used much like a shared reference .
pub fn as_view(
        &self,
    ) -> LookupDecoderModel<
        Symbol,
        Probability,
        NonContiguousSymbolTable<&[(Probability, Symbol)]>,
        &[Probability],
        PRECISION,
    > {
        LookupDecoderModel {
            lookup_table: self.lookup_table.as_ref(),
            cdf: NonContiguousSymbolTable(self.cdf.0.as_ref()),
            phantom: PhantomData,
        }
    }
pub fn as_view ( & self , ) -> LookupDecoderModel < Symbol , Probability , NonContiguousSymbolTable < & [ ( Probability , Symbol ) ] > , & [ Probability ] , PRECISION , > { LookupDecoderModel { lookup_table : self . lookup_table . as_ref ( ) , cdf : NonContiguousSymbolTable ( self . cdf . 0 . as_ref ( ) ) , phantom : PhantomData , } }
Makes a very cheap shallow copy of the model that can be used much like a shared
reference.
Makes a very cheap shallow copy of the model that can be used much like a shared reference .
&self
&self