[−][src]Struct jpegxl_rs::decoder::JXLDecoderBuilder
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]
mut self: Self,
memory_manager: Box<dyn JXLMemoryManager>
) -> Self
Set memory manager
pub fn parallel_runner(
mut self: Self,
parallel_runner: Box<dyn JXLParallelRunner>
) -> Self
[src]
mut self: Self,
parallel_runner: Box<dyn JXLParallelRunner>
) -> Self
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]
T: Unpin,
impl<T> !UnwindSafe for JXLDecoderBuilder<T>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,