Trait SetOrKeepInterface

Source
pub trait SetOrKeepInterface {
    type Bool: BoolInterface;

    // Required methods
    fn is_keep<T: Clone>(set_or_keep: &SetOrKeep<T>) -> Self::Bool;
    fn is_set<T: Clone>(set_or_keep: &SetOrKeep<T>) -> Self::Bool;
}

Required Associated Types§

Required Methods§

Source

fn is_keep<T: Clone>(set_or_keep: &SetOrKeep<T>) -> Self::Bool

Source

fn is_set<T: Clone>(set_or_keep: &SetOrKeep<T>) -> Self::Bool

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§