pub struct VipsApp;
Implementations§
Source§impl VipsApp
That’s the main type of this crate. Use it to initialize the system
impl VipsApp
That’s the main type of this crate. Use it to initialize the system
Sourcepub fn default(name: &str) -> Result<VipsApp>
pub fn default(name: &str) -> Result<VipsApp>
default constructor of a VIpsApp instance which will disable memory leak debugging
Sourcepub fn new(name: &str, detect_leak: bool) -> Result<VipsApp>
pub fn new(name: &str, detect_leak: bool) -> Result<VipsApp>
new instance of VipsApp takes the application name and a flag indicating if the library should debug memory leak (good for testing purposes)
pub fn progress_set(&self, flag: bool)
pub fn get_disc_threshold(&self) -> u64
pub fn version_string(&self) -> Result<&str>
pub fn thread_shutdown(&self)
pub fn error_buffer(&self) -> Result<&str>
pub fn error(&self, domain: &str, error: &str) -> Result<()>
pub fn error_system(&self, code: i32, domain: &str, error: &str) -> Result<()>
pub fn freeze_error_buffer(&self)
pub fn error_clear(&self)
pub fn error_thaw(&self)
pub fn error_exit(&self, error: &str) -> Result<()>
pub fn cache_print(&self)
pub fn cache_set_max(&self, max: i32)
pub fn cache_set_max_mem(&self, max: u64)
pub fn cache_get_max(&self) -> i32
pub fn cache_get_max_mem(&self) -> u64
pub fn cache_get_size(&self) -> i32
pub fn cache_set_max_files(&self, max: i32)
pub fn cache_get_max_files(&self) -> i32
pub fn vips_cache_set_dump(&self, flag: bool)
pub fn vips_cache_set_trace(&self, flag: bool)
Sourcepub fn concurrency_set(&self, max: i32)
pub fn concurrency_set(&self, max: i32)
set the number of worker threads for vips to operate
Sourcepub fn concurency_get(&self) -> i32
pub fn concurency_get(&self) -> i32
get the number of worker threads that vips is operating
pub fn tracked_get_mem(&self) -> u64
pub fn tracked_get_mem_highwater(&self) -> u64
pub fn tracked_get_allocs(&self) -> i32
pub fn pipe_read_limit_set(&self, limit: i64)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VipsApp
impl RefUnwindSafe for VipsApp
impl Send for VipsApp
impl Sync for VipsApp
impl Unpin for VipsApp
impl UnwindSafe for VipsApp
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