pub struct J2kDirectGrayscalePlan {
pub dimensions: (u32, u32),
pub bit_depth: u8,
pub steps: Vec<J2kDirectGrayscaleStep>,
}Expand description
Direct-device decode plan for one component.
Fields§
§dimensions: (u32, u32)Final output dimensions.
bit_depth: u8Final output bit depth.
steps: Vec<J2kDirectGrayscaleStep>Ordered execution steps.
Implementations§
Source§impl J2kDirectGrayscalePlan
impl J2kDirectGrayscalePlan
Sourcepub fn retained_allocation_bytes(
&self,
) -> Result<usize, DecodePlanAllocationError>
pub fn retained_allocation_bytes( &self, ) -> Result<usize, DecodePlanAllocationError>
Return allocator capacities retained by this plan’s owner graph.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for J2kDirectGrayscalePlan
impl RefUnwindSafe for J2kDirectGrayscalePlan
impl Send for J2kDirectGrayscalePlan
impl Sync for J2kDirectGrayscalePlan
impl Unpin for J2kDirectGrayscalePlan
impl UnsafeUnpin for J2kDirectGrayscalePlan
impl UnwindSafe for J2kDirectGrayscalePlan
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