BoundSide

Trait BoundSide 

Source
pub trait BoundSide:
    Debug
    + Clone
    + PartialEq
    + Eq
    + Serialize
    + for<'a> Deserialize<'a> {
    // Required methods
    fn is_upper() -> bool;
    fn is_lower() -> bool;
}
Expand description

Trait for bound side markers (Lower/Upper)

Required Methods§

Source

fn is_upper() -> bool

Returns true if this is an upper bound

Source

fn is_lower() -> bool

Returns true if this is a lower bound

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§