pub struct ResidentDwtSubbandLayout {
pub level: u8,
pub subband: ResidentDwtSubbandKind,
pub width: u32,
pub height: u32,
pub row_pitch_bytes: usize,
pub bytes_per_coefficient: usize,
}Expand description
Layout metadata for a resident DWT subband descriptor.
Fields§
§level: u8DWT decomposition level.
subband: ResidentDwtSubbandKindSubband kind within the level.
width: u32Native subband width in coefficients.
height: u32Native subband height in coefficients.
row_pitch_bytes: usizeByte stride between subband rows.
bytes_per_coefficient: usizeBytes per coefficient in the resident buffer.
Trait Implementations§
Source§impl Clone for ResidentDwtSubbandLayout
impl Clone for ResidentDwtSubbandLayout
Source§fn clone(&self) -> ResidentDwtSubbandLayout
fn clone(&self) -> ResidentDwtSubbandLayout
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 ResidentDwtSubbandLayout
Source§impl Debug for ResidentDwtSubbandLayout
impl Debug for ResidentDwtSubbandLayout
impl Eq for ResidentDwtSubbandLayout
Source§impl PartialEq for ResidentDwtSubbandLayout
impl PartialEq for ResidentDwtSubbandLayout
Source§fn eq(&self, other: &ResidentDwtSubbandLayout) -> bool
fn eq(&self, other: &ResidentDwtSubbandLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResidentDwtSubbandLayout
Auto Trait Implementations§
impl Freeze for ResidentDwtSubbandLayout
impl RefUnwindSafe for ResidentDwtSubbandLayout
impl Send for ResidentDwtSubbandLayout
impl Sync for ResidentDwtSubbandLayout
impl Unpin for ResidentDwtSubbandLayout
impl UnsafeUnpin for ResidentDwtSubbandLayout
impl UnwindSafe for ResidentDwtSubbandLayout
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