Skip to main content

TypedBuilderExt

Trait TypedBuilderExt 

Source
pub trait TypedBuilderExt<T: Send + Sync + ?Sized>: TypedBuilder<T> {
    // Required method
    fn without_default_interfaces(self) -> impl TypedBuilder<T>;
}

Required Methods§

Source

fn without_default_interfaces(self) -> impl TypedBuilder<T>

Stops builder from auto-registering the default interfaces, allowing a fine-grain control over the binding

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Bld, Impl> TypedBuilderExt<Impl> for Bld
where Impl: Send + Sync, Bld: TypedBuilder<Impl>,