enum CachedConstant {
Literal(HashableLiteral),
Composite {
ty: LookupType,
constituent_ids: Vec<Word>,
},
ZeroValue(Word),
}Variants§
Trait Implementations§
impl Eq for CachedConstant
Source§impl Hash for CachedConstant
impl Hash for CachedConstant
Source§impl PartialEq for CachedConstant
impl PartialEq for CachedConstant
impl StructuralPartialEq for CachedConstant
Auto Trait Implementations§
impl Freeze for CachedConstant
impl RefUnwindSafe for CachedConstant
impl Send for CachedConstant
impl Sync for CachedConstant
impl Unpin for CachedConstant
impl UnsafeUnpin for CachedConstant
impl UnwindSafe for CachedConstant
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.