rustc_mir_dataflow::framework::lattice

Trait HasBottom

Source
pub trait HasBottom {
    const BOTTOM: Self;

    // Required method
    fn is_bottom(&self) -> bool;
}
Expand description

A set that has a “bottom” element, which is less than or equal to any other element.

Required Associated Constants§

Source

const BOTTOM: Self

Required Methods§

Source

fn is_bottom(&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§

Source§

impl<T> HasBottom for FlatSet<T>

Source§

const BOTTOM: Self = Self::Bottom