pub struct ClassTemplateKey {
pub definition: u32,
pub params_hash: u64,
}Expand description
Classes plan Task 2’s candidate-bucketing key for class-template dedup —
moved here alongside ClassTemplateId for the same frontend-independence
reason (see that type’s doc comment); the sv-lang-backed construction
(class_template_key_of, same_specialization) stays in classes.rs,
#[cfg(feature = "frontend")]-gated, same split as TemplateKey/
dedup.rs.
Fields§
§definition: u32§params_hash: u64Trait Implementations§
Source§impl Clone for ClassTemplateKey
impl Clone for ClassTemplateKey
impl Copy for ClassTemplateKey
Source§impl Debug for ClassTemplateKey
impl Debug for ClassTemplateKey
impl Eq for ClassTemplateKey
Source§impl Hash for ClassTemplateKey
impl Hash for ClassTemplateKey
Source§impl PartialEq for ClassTemplateKey
impl PartialEq for ClassTemplateKey
impl StructuralPartialEq for ClassTemplateKey
Auto Trait Implementations§
impl Freeze for ClassTemplateKey
impl RefUnwindSafe for ClassTemplateKey
impl Send for ClassTemplateKey
impl Sync for ClassTemplateKey
impl Unpin for ClassTemplateKey
impl UnsafeUnpin for ClassTemplateKey
impl UnwindSafe for ClassTemplateKey
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.