Struct tiff::decoder::tag_reader::TagReader
source · pub(crate) struct TagReader<'a, R: Read + Seek> {
pub reader: &'a mut SmartReader<R>,
pub ifd: &'a Directory,
pub limits: &'a Limits,
pub bigtiff: bool,
}
Fields§
§reader: &'a mut SmartReader<R>
§ifd: &'a Directory
§limits: &'a Limits
§bigtiff: bool
Implementations§
source§impl<'a, R: Read + Seek> TagReader<'a, R>
impl<'a, R: Read + Seek> TagReader<'a, R>
pub(crate) fn find_tag(&mut self, tag: Tag) -> TiffResult<Option<Value>>
pub(crate) fn require_tag(&mut self, tag: Tag) -> TiffResult<Value>
pub fn find_tag_uint_vec<T: TryFrom<u64>>( &mut self, tag: Tag, ) -> TiffResult<Option<Vec<T>>>
Auto Trait Implementations§
impl<'a, R> Freeze for TagReader<'a, R>
impl<'a, R> RefUnwindSafe for TagReader<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for TagReader<'a, R>where
R: Send,
impl<'a, R> Sync for TagReader<'a, R>where
R: Sync,
impl<'a, R> Unpin for TagReader<'a, R>
impl<'a, R> !UnwindSafe for TagReader<'a, R>
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> 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