pub struct CycleSchemaIndex(/* private fields */);Expand description
Temporary index assigned during schema extraction to handle cycles in recursive types. Completely unrelated to type parameters — this is purely a bookkeeping index for the extraction/hashing pipeline.
Implementations§
Source§impl CycleSchemaIndex
impl CycleSchemaIndex
Sourcepub fn first() -> CycleSchemaIndex
pub fn first() -> CycleSchemaIndex
The starting index for a fresh extraction pass.
Sourcepub fn next(&mut self) -> CycleSchemaIndex
pub fn next(&mut self) -> CycleSchemaIndex
Return the current index and advance to the next one.
Trait Implementations§
Source§impl Clone for CycleSchemaIndex
impl Clone for CycleSchemaIndex
Source§fn clone(&self) -> CycleSchemaIndex
fn clone(&self) -> CycleSchemaIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CycleSchemaIndex
impl Debug for CycleSchemaIndex
Source§impl<'ʄ> Facet<'ʄ> for CycleSchemaIndex
impl<'ʄ> Facet<'ʄ> for CycleSchemaIndex
Source§impl Hash for CycleSchemaIndex
impl Hash for CycleSchemaIndex
Source§impl PartialEq for CycleSchemaIndex
impl PartialEq for CycleSchemaIndex
impl Copy for CycleSchemaIndex
impl Eq for CycleSchemaIndex
impl StructuralPartialEq for CycleSchemaIndex
Auto Trait Implementations§
impl Freeze for CycleSchemaIndex
impl RefUnwindSafe for CycleSchemaIndex
impl Send for CycleSchemaIndex
impl Sync for CycleSchemaIndex
impl Unpin for CycleSchemaIndex
impl UnsafeUnpin for CycleSchemaIndex
impl UnwindSafe for CycleSchemaIndex
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.