pub enum DefLevelsDecoder<'a> {
    Bitmap(HybridDecoderBitmapIter<'a>),
    Levels(HybridRleDecoder<'a>, u32),
}
Expand description

Decoder of definition levels.

Variants

Bitmap(HybridDecoderBitmapIter<'a>)

When the maximum definition level is 1, the definition levels are RLE-encoded and the bitpacked runs are bitmaps. This variant contains HybridDecoderBitmapIter that decodes the runs, but not the individual values

Levels(HybridRleDecoder<'a>, u32)

When the maximum definition level is larger than 1

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.