[][src]Struct jpegxl_rs::decoder::JXLDecoderBuilder

pub struct JXLDecoderBuilder<T: PixelType> { /* fields omitted */ }

Builder for JXLDecoder

Implementations

impl<T: PixelType> JXLDecoderBuilder<T>[src]

pub fn num_channels(mut self: Self, num: u32) -> Self[src]

Set number of channels for returned result

pub fn endian(mut self: Self, endian: Endianness) -> Self[src]

Set endianness for returned result

pub fn align(mut self: Self, align: u64) -> Self[src]

Set align for returned result

pub fn memory_manager(
    mut self: Self,
    memory_manager: Box<dyn JXLMemoryManager>
) -> Self
[src]

Set memory manager

pub fn parallel_runner(
    mut self: Self,
    parallel_runner: Box<dyn JXLParallelRunner>
) -> Self
[src]

Set parallel runner

pub fn build(self) -> Result<JXLDecoder<T>, DecodeError>[src]

Consume the builder and get the decoder

Auto Trait Implementations

impl<T> !RefUnwindSafe for JXLDecoderBuilder<T>[src]

impl<T> !Send for JXLDecoderBuilder<T>[src]

impl<T> !Sync for JXLDecoderBuilder<T>[src]

impl<T> Unpin for JXLDecoderBuilder<T> where
    T: Unpin
[src]

impl<T> !UnwindSafe for JXLDecoderBuilder<T>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.