pub enum KnownConstant {
Lit(LcnfLit),
Top,
Bottom,
}Expand description
The known value of a variable for CCP purposes.
Variants§
Lit(LcnfLit)
The variable is definitely the given literal.
Top
The variable’s value is not yet determined.
Bottom
The variable could be more than one value (conservative).
Trait Implementations§
Source§impl Clone for KnownConstant
impl Clone for KnownConstant
Source§fn clone(&self) -> KnownConstant
fn clone(&self) -> KnownConstant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KnownConstant
impl Debug for KnownConstant
Source§impl PartialEq for KnownConstant
impl PartialEq for KnownConstant
impl Eq for KnownConstant
impl StructuralPartialEq for KnownConstant
Auto Trait Implementations§
impl Freeze for KnownConstant
impl RefUnwindSafe for KnownConstant
impl Send for KnownConstant
impl Sync for KnownConstant
impl Unpin for KnownConstant
impl UnsafeUnpin for KnownConstant
impl UnwindSafe for KnownConstant
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more