pub struct RenderContextBuilder { /* private fields */ }
Implementations§
source§impl RenderContextBuilder
impl RenderContextBuilder
pub fn embedded_icc(self, icc: Vec<u8>) -> Self
pub fn pool(self, pool: JxlThreadPool) -> Self
pub fn alloc_tracker(self, tracker: AllocTracker) -> Self
pub fn build(self, image_header: Arc<ImageHeader>) -> Result<RenderContext>
Trait Implementations§
source§impl Debug for RenderContextBuilder
impl Debug for RenderContextBuilder
source§impl Default for RenderContextBuilder
impl Default for RenderContextBuilder
source§fn default() -> RenderContextBuilder
fn default() -> RenderContextBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderContextBuilder
impl RefUnwindSafe for RenderContextBuilder
impl Send for RenderContextBuilder
impl Sync for RenderContextBuilder
impl Unpin for RenderContextBuilder
impl UnwindSafe for RenderContextBuilder
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, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.