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
sourceimpl Clone for AtlasCacheCtrl
impl Clone for AtlasCacheCtrl
sourcefn clone(&self) -> AtlasCacheCtrl
fn clone(&self) -> AtlasCacheCtrl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AtlasCacheCtrl
impl Debug for AtlasCacheCtrl
sourceimpl Default for AtlasCacheCtrl
impl Default for AtlasCacheCtrl
sourcefn default() -> AtlasCacheCtrl
fn default() -> AtlasCacheCtrl
Returns the “default value” for a type. Read more
sourceimpl PartialEq<AtlasCacheCtrl> for AtlasCacheCtrl
impl PartialEq<AtlasCacheCtrl> for AtlasCacheCtrl
sourcefn eq(&self, other: &AtlasCacheCtrl) -> bool
fn eq(&self, other: &AtlasCacheCtrl) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<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,
sourcefn 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()
.sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_big_endian()
.sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_native_endian()
.