pub struct ResidentDctGridLayout {
pub block_cols: u32,
pub block_rows: u32,
pub row_pitch_bytes: usize,
pub bytes_per_coefficient: usize,
pub coefficient_order: ResidentDctCoefficientOrder,
}Expand description
Layout metadata for a resident JPEG DCT-grid descriptor.
Fields§
§block_cols: u32Padded DCT block columns.
block_rows: u32Padded DCT block rows.
row_pitch_bytes: usizeByte stride between consecutive block rows in the resident buffer.
bytes_per_coefficient: usizeBytes per coefficient in the resident buffer.
coefficient_order: ResidentDctCoefficientOrderCoefficient order within each DCT block.
Trait Implementations§
Source§impl Clone for ResidentDctGridLayout
impl Clone for ResidentDctGridLayout
Source§fn clone(&self) -> ResidentDctGridLayout
fn clone(&self) -> ResidentDctGridLayout
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 moreimpl Copy for ResidentDctGridLayout
Source§impl Debug for ResidentDctGridLayout
impl Debug for ResidentDctGridLayout
impl Eq for ResidentDctGridLayout
Source§impl PartialEq for ResidentDctGridLayout
impl PartialEq for ResidentDctGridLayout
Source§fn eq(&self, other: &ResidentDctGridLayout) -> bool
fn eq(&self, other: &ResidentDctGridLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResidentDctGridLayout
Auto Trait Implementations§
impl Freeze for ResidentDctGridLayout
impl RefUnwindSafe for ResidentDctGridLayout
impl Send for ResidentDctGridLayout
impl Sync for ResidentDctGridLayout
impl Unpin for ResidentDctGridLayout
impl UnsafeUnpin for ResidentDctGridLayout
impl UnwindSafe for ResidentDctGridLayout
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