pub struct LinecacheOptions {
pub tile_height: i32,
pub access: Access,
pub threaded: bool,
pub persistent: bool,
}
Expand description
Options for linecache operation
Fields§
§tile_height: i32
tile_height: i32
-> Tile height in pixels
min: 1, max: 1000000, default: 128
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 LinecacheOptions
impl Clone for LinecacheOptions
Source§fn clone(&self) -> LinecacheOptions
fn clone(&self) -> LinecacheOptions
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 LinecacheOptions
impl Debug for LinecacheOptions
Auto Trait Implementations§
impl Freeze for LinecacheOptions
impl RefUnwindSafe for LinecacheOptions
impl Send for LinecacheOptions
impl Sync for LinecacheOptions
impl Unpin for LinecacheOptions
impl UnwindSafe for LinecacheOptions
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