pub struct CacheOptions {
pub max_tiles: i32,
pub tile_height: i32,
pub tile_width: i32,
}
Expand description
Options for cache operation
Fields§
§max_tiles: i32
max_tiles: i32
-> Maximum number of tiles to cache
min: -1, max: 1000000, default: 1000
tile_height: i32
tile_height: i32
-> Tile height in pixels
min: 1, max: 1000000, default: 128
tile_width: i32
tile_width: i32
-> Tile width in pixels
min: 1, max: 1000000, default: 128
Trait Implementations§
Source§impl Clone for CacheOptions
impl Clone for CacheOptions
Source§fn clone(&self) -> CacheOptions
fn clone(&self) -> CacheOptions
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 CacheOptions
impl Debug for CacheOptions
Auto Trait Implementations§
impl Freeze for CacheOptions
impl RefUnwindSafe for CacheOptions
impl Send for CacheOptions
impl Sync for CacheOptions
impl Unpin for CacheOptions
impl UnwindSafe for CacheOptions
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