Trait IsSetVal

Source
pub(super) trait IsSetVal {
    // Required method
    fn is_set_val() -> bool;
}
Expand description

A trait to differentiate between BTreeMap and BTreeSet values. Returns true only for type SetValZST, false for all other types (blanket implementation). TypeId requires a 'static lifetime, use of this trait avoids that restriction.

Required Methods§

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§