pub struct IndexedDecodeReport {
pub decode: DecodeReport,
pub index: DeflateIndex,
}Expand description
Result of a verified decode that also collected a random-access index.
Fields§
§decode: DecodeReportScalar statistics for the verified decode.
index: DeflateIndexRandom-access index built from authoritative decode boundaries.
Implementations§
Source§impl IndexedDecodeReport
impl IndexedDecodeReport
Sourcepub const fn report(&self) -> &DecodeReport
pub const fn report(&self) -> &DecodeReport
Returns the scalar decode report.
Sourcepub const fn index(&self) -> &DeflateIndex
pub const fn index(&self) -> &DeflateIndex
Returns the collected random-access index.
Sourcepub fn into_parts(self) -> (DecodeReport, DeflateIndex)
pub fn into_parts(self) -> (DecodeReport, DeflateIndex)
Separates the scalar report from the owning index.
Trait Implementations§
Source§impl AsRef<DecodeReport> for IndexedDecodeReport
impl AsRef<DecodeReport> for IndexedDecodeReport
Source§fn as_ref(&self) -> &DecodeReport
fn as_ref(&self) -> &DecodeReport
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for IndexedDecodeReport
impl Clone for IndexedDecodeReport
Source§fn clone(&self) -> IndexedDecodeReport
fn clone(&self) -> IndexedDecodeReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexedDecodeReport
impl Debug for IndexedDecodeReport
impl Eq for IndexedDecodeReport
Source§impl PartialEq for IndexedDecodeReport
impl PartialEq for IndexedDecodeReport
impl StructuralPartialEq for IndexedDecodeReport
Auto Trait Implementations§
impl Freeze for IndexedDecodeReport
impl RefUnwindSafe for IndexedDecodeReport
impl Send for IndexedDecodeReport
impl Sync for IndexedDecodeReport
impl Unpin for IndexedDecodeReport
impl UnsafeUnpin for IndexedDecodeReport
impl UnwindSafe for IndexedDecodeReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more