Enum basalt::atlas::AtlasCacheCtrl
source · pub enum AtlasCacheCtrl {
Immediate,
Indefinite,
Seconds(u64),
}
Expand description
Defines how long images are retain within the Atlas
after all AtlasCoords
referencing them
have been dropped.
Variants§
Immediate
Immediately remove the image.
Indefinite
Always keep the images stored.
Seconds(u64)
Keep the images stored for a specficed time.
Trait Implementations§
source§impl Clone for AtlasCacheCtrl
impl Clone for AtlasCacheCtrl
source§fn clone(&self) -> AtlasCacheCtrl
fn clone(&self) -> AtlasCacheCtrl
Returns a copy 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 AtlasCacheCtrl
impl Debug for AtlasCacheCtrl
source§impl Default for AtlasCacheCtrl
impl Default for AtlasCacheCtrl
source§fn default() -> AtlasCacheCtrl
fn default() -> AtlasCacheCtrl
Returns the “default value” for a type. Read more
source§impl PartialEq<AtlasCacheCtrl> for AtlasCacheCtrl
impl PartialEq<AtlasCacheCtrl> for AtlasCacheCtrl
source§fn eq(&self, other: &AtlasCacheCtrl) -> bool
fn eq(&self, other: &AtlasCacheCtrl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AtlasCacheCtrl
impl Eq for AtlasCacheCtrl
impl StructuralEq for AtlasCacheCtrl
impl StructuralPartialEq for AtlasCacheCtrl
Auto Trait Implementations§
impl RefUnwindSafe for AtlasCacheCtrl
impl Send for AtlasCacheCtrl
impl Sync for AtlasCacheCtrl
impl Unpin for AtlasCacheCtrl
impl UnwindSafe for AtlasCacheCtrl
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.