Struct libvips::ops::TilecacheOptions
source · pub struct TilecacheOptions {
pub tile_width: i32,
pub tile_height: i32,
pub max_tiles: i32,
pub access: Access,
pub threaded: bool,
pub persistent: bool,
}
Expand description
Options for tilecache operation
Fields§
§tile_width: i32
tile_width: i32
-> Tile width in pixels
min: 1, max: 1000000, default: 128
tile_height: i32
tile_height: i32
-> Tile height in pixels
min: 1, max: 1000000, default: 128
max_tiles: i32
max_tiles: i32
-> Maximum number of tiles to cache
min: -1, max: 1000000, default: 1000
access: Access
access: Access
-> Expected access pattern
Random
-> VIPS_ACCESS_RANDOM = 0 [DEFAULT]
Sequential
-> VIPS_ACCESS_SEQUENTIAL = 1
SequentialUnbuffered
-> VIPS_ACCESS_SEQUENTIAL_UNBUFFERED = 2
Last
-> VIPS_ACCESS_LAST = 3
threaded: bool
threaded: bool
-> Allow threaded access
default: false
persistent: bool
persistent: bool
-> Keep cache between evaluations
default: false
Trait Implementations§
source§impl Clone for TilecacheOptions
impl Clone for TilecacheOptions
source§fn clone(&self) -> TilecacheOptions
fn clone(&self) -> TilecacheOptions
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 more