pub enum ConstantLattice {
Undetermined,
NotConstant,
VmConstant(ConstantIndex),
Immediate(BytecodeImmediate),
}Variants§
Trait Implementations§
Source§impl Clone for ConstantLattice
impl Clone for ConstantLattice
Source§fn clone(&self) -> ConstantLattice
fn clone(&self) -> ConstantLattice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConstantLattice
Source§impl Debug for ConstantLattice
impl Debug for ConstantLattice
Source§impl Default for ConstantLattice
impl Default for ConstantLattice
Source§fn default() -> ConstantLattice
fn default() -> ConstantLattice
Returns the “default value” for a type. Read more
impl Eq for ConstantLattice
Source§impl PartialEq for ConstantLattice
impl PartialEq for ConstantLattice
impl StructuralPartialEq for ConstantLattice
Auto Trait Implementations§
impl Freeze for ConstantLattice
impl RefUnwindSafe for ConstantLattice
impl Send for ConstantLattice
impl Sync for ConstantLattice
impl Unpin for ConstantLattice
impl UnsafeUnpin for ConstantLattice
impl UnwindSafe for ConstantLattice
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