Enum naga::back::spv::CachedConstant
source · enum CachedConstant {
Literal(HashableLiteral),
Composite {
ty: LookupType,
constituent_ids: Vec<Word>,
},
ZeroValue(Word),
}
Variants§
Trait Implementations§
source§impl Hash for CachedConstant
impl Hash for CachedConstant
source§impl PartialEq for CachedConstant
impl PartialEq for CachedConstant
impl Eq 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 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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.