Skip to main content

AllowedSpecifierBuilder

Trait AllowedSpecifierBuilder 

Source
pub trait AllowedSpecifierBuilder<T> {
    // Required methods
    fn allow(self, constraint: T) -> Self;
    fn forbid(self, constraint: T) -> Self;
}

Required Methods§

Source

fn allow(self, constraint: T) -> Self

Source

fn forbid(self, constraint: T) -> Self

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§