pub struct DecodedTile {
pub dimensions: (u32, u32),
pub decoded: Rect,
pub warnings: Vec<Warning>,
}Expand description
Result for one successful prepared JPEG tile decode.
Fields§
§dimensions: (u32, u32)Tile dimensions reported by the prepared JPEG header.
decoded: RectRectangle written into the output buffer.
warnings: Vec<Warning>Non-fatal warnings emitted during parse or decode.
Trait Implementations§
Source§impl Clone for DecodedTile
impl Clone for DecodedTile
Source§fn clone(&self) -> DecodedTile
fn clone(&self) -> DecodedTile
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 DecodedTile
impl Debug for DecodedTile
impl Eq for DecodedTile
Source§impl PartialEq for DecodedTile
impl PartialEq for DecodedTile
impl StructuralPartialEq for DecodedTile
Auto Trait Implementations§
impl Freeze for DecodedTile
impl RefUnwindSafe for DecodedTile
impl Send for DecodedTile
impl Sync for DecodedTile
impl Unpin for DecodedTile
impl UnsafeUnpin for DecodedTile
impl UnwindSafe for DecodedTile
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> 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