#[repr(u8)]pub enum MixedId {
Final(SchemaHash),
Temp(CycleSchemaIndex),
}Expand description
During extraction, IDs can be either already-finalized content hashes or temporary indices that will be resolved during finalization.
Variants§
Final(SchemaHash)
A final content hash (from a previously extracted type).
Temp(CycleSchemaIndex)
A temporary index assigned during the current extraction pass. Used only for cycle detection/resolution during hashing.
Trait Implementations§
impl Copy for MixedId
impl Eq for MixedId
impl StructuralPartialEq for MixedId
Auto Trait Implementations§
impl Freeze for MixedId
impl RefUnwindSafe for MixedId
impl Send for MixedId
impl Sync for MixedId
impl Unpin for MixedId
impl UnsafeUnpin for MixedId
impl UnwindSafe for MixedId
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<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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.