[][src]Struct libvips::VipsApp

pub struct VipsApp;

Methods

impl VipsApp[src]

That's the main type of this crate. Use it to initialize the system

pub fn default(name: &str) -> Result<VipsApp>[src]

default constructor of a VIpsApp instance which will disable memory leak debugging

pub fn new(name: &str, detect_leak: bool) -> Result<VipsApp>[src]

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)[src]

pub fn get_disc_threshold(&self) -> u64[src]

pub fn version_string(&self) -> Result<&str>[src]

pub fn thread_shutdown(&self)[src]

pub fn error_buffer(&self) -> Result<&str>[src]

pub fn error(&self, domain: &str, error: &str) -> Result<()>[src]

pub fn error_system(&self, code: i32, domain: &str, error: &str) -> Result<()>[src]

pub fn freeze_error_buffer(&self)[src]

pub fn error_clear(&self)[src]

pub fn error_thaw(&self)[src]

pub fn error_exit(&self, error: &str) -> Result<()>[src]

pub fn cache_print(&self)[src]

pub fn cache_set_max(&self, max: i32)[src]

pub fn cache_set_max_mem(&self, max: u64)[src]

pub fn cache_get_max(&self) -> i32[src]

pub fn cache_get_max_mem(&self) -> u64[src]

pub fn cache_get_size(&self) -> i32[src]

pub fn cache_set_max_files(&self, max: i32)[src]

pub fn cache_get_max_files(&self) -> i32[src]

pub fn vips_cache_set_dump(&self, flag: bool)[src]

pub fn vips_cache_set_trace(&self, flag: bool)[src]

pub fn concurrency_set(&self, max: i32)[src]

set the number of worker threads for vips to operate

pub fn concurency_get(&self) -> i32[src]

get the number of worker threads that vips is operating

pub fn tracked_get_mem(&self) -> u64[src]

pub fn tracked_get_mem_highwater(&self) -> u64[src]

pub fn tracked_get_allocs(&self) -> i32[src]

Trait Implementations

impl Drop for VipsApp[src]

Auto Trait Implementations

impl RefUnwindSafe for VipsApp

impl Send for VipsApp

impl Sync for VipsApp

impl Unpin for VipsApp

impl UnwindSafe for VipsApp

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, 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.