[][src]Struct libvips::ops::TilecacheOptions

pub struct TilecacheOptions {
    pub tile_width: i32,
    pub tile_height: i32,
    pub max_tiles: i32,
    pub access: Access,
    pub threaded: bool,
    pub persistent: bool,
}

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

impl Clone for TilecacheOptions[src]

impl Debug for TilecacheOptions[src]

impl Default for TilecacheOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.