Trait jxl_bitstream::BundleDefault

source ·
pub trait BundleDefault<Ctx = ()>: Sized {
    // Required method
    fn default_with_context(ctx: Ctx) -> Self;
}

Required Methods§

source

fn default_with_context(ctx: Ctx) -> Self

Creates a default value with the given context.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, Ctx> BundleDefault<Ctx> for T
where T: Default + Sized,