pub struct J2kDirectStoreStep {
pub input_band_id: u32,
pub input_rect: J2kRect,
pub source_x: u32,
pub source_y: u32,
pub copy_width: u32,
pub copy_height: u32,
pub output_width: u32,
pub output_height: u32,
pub output_x: u32,
pub output_y: u32,
pub addend: f32,
}Expand description
Adapter grayscale store step for a direct device plan.
Fields§
§input_band_id: u32Stable identifier of the input coefficient band.
input_rect: J2kRectSource rect of the input plane.
source_x: u32Source x offset to begin copying from.
source_y: u32Source y offset to begin copying from.
copy_width: u32Number of samples to copy per row.
copy_height: u32Number of rows to copy.
output_width: u32Destination row width.
output_height: u32Destination height.
output_x: u32Destination x offset to begin writing at.
output_y: u32Destination y offset to begin writing at.
addend: f32Constant value added to every copied sample.
Trait Implementations§
Source§impl Clone for J2kDirectStoreStep
impl Clone for J2kDirectStoreStep
Source§fn clone(&self) -> J2kDirectStoreStep
fn clone(&self) -> J2kDirectStoreStep
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 J2kDirectStoreStep
Auto Trait Implementations§
impl Freeze for J2kDirectStoreStep
impl RefUnwindSafe for J2kDirectStoreStep
impl Send for J2kDirectStoreStep
impl Sync for J2kDirectStoreStep
impl Unpin for J2kDirectStoreStep
impl UnsafeUnpin for J2kDirectStoreStep
impl UnwindSafe for J2kDirectStoreStep
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