pub struct Wavefront {
pub row_len: usize,
pub halo: usize,
pub margin: usize,
pub block: usize,
}Expand description
Geometry of a wavefront pass over a row-major buffer.
Fields§
§row_len: usizeSamples per row.
halo: usizeRows above a row that it reads (the band above must be at least this tall).
margin: usizeColumns left of a block that its first samples read from rows above.
block: usizeBlock width in samples (block boundaries are multiples of it).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Wavefront
impl RefUnwindSafe for Wavefront
impl Send for Wavefront
impl Sync for Wavefront
impl Unpin for Wavefront
impl UnsafeUnpin for Wavefront
impl UnwindSafe for Wavefront
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