jxl_oxide_common

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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