pub enum SaveTile {
Resident(u32),
Detached(Box<Tile>),
}Expand description
An output tile to store now.
Variants§
Resident(u32)
Still resident in the cache, by id (the host stores it and reports TileCache::saved).
Detached(Box<Tile>)
The cache evicted it while its source tiles were being brought in; the session kept its planes, and the host stores this copy.
Trait Implementations§
impl StructuralPartialEq for SaveTile
Auto Trait Implementations§
impl Freeze for SaveTile
impl RefUnwindSafe for SaveTile
impl Send for SaveTile
impl Sync for SaveTile
impl Unpin for SaveTile
impl UnsafeUnpin for SaveTile
impl UnwindSafe for SaveTile
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