pub struct DeferredValueLocation {
pub offset: u64,
pub length: u64,
}Expand description
Where a value that was skipped instead of read lives in the source file (absolute byte
offset of its first byte, and its length) - see DeferredValues.
Fields§
§offset: u64§length: u64Self::UNDEFINED_LENGTH for a value whose end isn’t known: encapsulated pixel data a
read stopped at (stop_at_pixel_data) without walking its fragments.
Implementations§
Source§impl DeferredValueLocation
impl DeferredValueLocation
pub const UNDEFINED_LENGTH: u64 = u64::MAX
Sourcepub fn defined_length(&self) -> Option<u64>
pub fn defined_length(&self) -> Option<u64>
The value’s length, or None for Self::UNDEFINED_LENGTH.
Trait Implementations§
Source§impl Clone for DeferredValueLocation
impl Clone for DeferredValueLocation
impl Copy for DeferredValueLocation
Source§impl Debug for DeferredValueLocation
impl Debug for DeferredValueLocation
impl Eq for DeferredValueLocation
Source§impl PartialEq for DeferredValueLocation
impl PartialEq for DeferredValueLocation
impl StructuralPartialEq for DeferredValueLocation
Auto Trait Implementations§
impl Forget for DeferredValueLocation
impl Freeze for DeferredValueLocation
impl Move for DeferredValueLocation
impl RefUnwindSafe for DeferredValueLocation
impl Send for DeferredValueLocation
impl Sync for DeferredValueLocation
impl Unpin for DeferredValueLocation
impl UnsafeUnpin for DeferredValueLocation
impl UnwindSafe for DeferredValueLocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more