[−][src]Trait gf::support::lattice::Bottom
A type that has a designated bottom element, ⊥.
Blanket implementations
- A blanket implementation is provided for
Option<T>
, withNone
being the bottom element. - A blanket implementation is provided for 2- and 3-tuples of
Bottom
implementors where if at least one of the tuple elements is ⊥, the tuple is also considered ⊥. - A blanket implementation is provided for
Bottom
implementors wrapped inArc
,Box
, orRc
.
Required methods
Loading content...Provided methods
fn to_option(self) -> Option<Self>
Convert ⊥ to None
and all other elements to Some
.
fn reset_to_bottom(&mut self)
Reset self
to ⊥.
The default implementation assigns self
to what bottom
returns. In
many cases, a more efficient implementation is possible.
Implementations on Foreign Types
impl<T> Bottom for Option<T>
[src]
impl<A: Bottom, B: Bottom> Bottom for (A, B)
[src]
impl<A: Bottom, B: Bottom, C: Bottom> Bottom for (A, B, C)
[src]
impl<T: Bottom> Bottom for Arc<T>
[src]
impl<T: Bottom> Bottom for Box<T>
[src]
impl<T: Bottom> Bottom for Rc<T>
[src]
Loading content...Implementors
impl<'a> Bottom for ConcolicState<'a>
[src]
impl<'a> Bottom for SymbolicState<'a>
[src]
impl<'a, A, V, S> Bottom for State<'a, A, V, S> where
V: Bottom + Clone + Eq,
S: Clone + SpaceState<A, V>,
[src]
V: Bottom + Clone + Eq,
S: Clone + SpaceState<A, V>,