pub enum TileEntry {
Pending,
Fetching,
Ready {
svg: AzString,
},
Failed {
error: AzString,
},
}Variants§
Pending
Needed by the viewport, fetch not yet spawned.
Fetching
A worker thread is fetching / decoding this tile right now.
Distinct from Pending so the spawn pass doesn’t double-fire.
Ready
Tile decoded into an SVG document. Held as the raw SVG string for now; the VirtualView callback will feed it through the framework’s svg-to-dom pipeline on the next re-render.
Failed
Fetch failed. Held so the framework doesn’t immediately re-try the same URL — caller can choose to clear failed entries on retry.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TileEntry
impl RefUnwindSafe for TileEntry
impl Send for TileEntry
impl Sync for TileEntry
impl Unpin for TileEntry
impl UnsafeUnpin for TileEntry
impl UnwindSafe for TileEntry
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<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