use crate::depot::queue::{links, tagged};
pub unsafe trait TagEntry {
unsafe fn linked(self) -> tagged::Linked<Self>
where
Self: Sized,
{
unsafe { tagged::Linked::new(self) }
}
unsafe fn vacant(self) -> tagged::Vacant<Self>
where
Self: Sized,
{
unsafe { tagged::Vacant::new(self) }
}
unsafe fn linked_mut(state: &mut tagged::Linked<Self>) -> &mut Self
where
Self: Sized,
{
unsafe { state.entry_mut() }
}
const INITIALIZED: bool = true;
type Store: crate::depot::raw::TagStore;
fn store(&self) -> &Self::Store;
fn hook(&self) -> &tagged::Hook;
fn index(&self) -> links::Index;
}