pub struct TombstoneRegistry {
pub pending_references: HashMap<String, Vec<VertexId>>,
}Fields§
§pending_references: HashMap<String, Vec<VertexId>>Implementations§
Source§impl TombstoneRegistry
impl TombstoneRegistry
Sourcepub fn add_orphan(&mut self, sheet_name: String, vertex_id: VertexId)
pub fn add_orphan(&mut self, sheet_name: String, vertex_id: VertexId)
Record that a vertex is waiting for a specific sheet name to appear.
Sourcepub fn take_orphans(&mut self, sheet_name: &str) -> Vec<VertexId>
pub fn take_orphans(&mut self, sheet_name: &str) -> Vec<VertexId>
Retrieve and remove all vertices waiting for a specific sheet name.
Trait Implementations§
Source§impl Debug for TombstoneRegistry
impl Debug for TombstoneRegistry
Source§impl Default for TombstoneRegistry
impl Default for TombstoneRegistry
Source§fn default() -> TombstoneRegistry
fn default() -> TombstoneRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TombstoneRegistry
impl RefUnwindSafe for TombstoneRegistry
impl Send for TombstoneRegistry
impl Sync for TombstoneRegistry
impl Unpin for TombstoneRegistry
impl UnsafeUnpin for TombstoneRegistry
impl UnwindSafe for TombstoneRegistry
Blanket Implementations§
impl<T> Allocation for T
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more