pub struct GifloadSourceOptions {
pub n: i32,
pub page: i32,
pub flags: ForeignFlags,
pub memory: bool,
pub access: Access,
pub fail_on: FailOn,
pub revalidate: bool,
}Expand description
Options for gifload_source operation
Fields§
§n: i32n: i32 -> Number of pages to load, -1 for all
min: -1, max: 100000, default: 1
page: i32page: i32 -> First page to load
min: 0, max: 100000, default: 0
flags: ForeignFlagsflags: ForeignFlags -> Flags for this file
None -> VIPS_FOREIGN_NONE = 0 [DEFAULT]
Partial -> VIPS_FOREIGN_PARTIAL = 1
Bigendian -> VIPS_FOREIGN_BIGENDIAN = 2
Sequential -> VIPS_FOREIGN_SEQUENTIAL = 4
All -> VIPS_FOREIGN_ALL = 7
memory: boolmemory: bool -> Force open via memory
default: false
access: Accessaccess: Access -> Required access pattern for this file
Random -> VIPS_ACCESS_RANDOM = 0 [DEFAULT]
Sequential -> VIPS_ACCESS_SEQUENTIAL = 1
SequentialUnbuffered -> VIPS_ACCESS_SEQUENTIAL_UNBUFFERED = 2
Last -> VIPS_ACCESS_LAST = 3
fail_on: FailOnfail_on: FailOn -> Error level to fail on
None -> VIPS_FAIL_ON_NONE = 0 [DEFAULT]
Truncated -> VIPS_FAIL_ON_TRUNCATED = 1
Error -> VIPS_FAIL_ON_ERROR = 2
Warning -> VIPS_FAIL_ON_WARNING = 3
Last -> VIPS_FAIL_ON_LAST = 4
revalidate: boolrevalidate: bool -> Don’t use a cached result for this operation
default: false
Trait Implementations§
Source§impl Clone for GifloadSourceOptions
impl Clone for GifloadSourceOptions
Source§fn clone(&self) -> GifloadSourceOptions
fn clone(&self) -> GifloadSourceOptions
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GifloadSourceOptions
impl Debug for GifloadSourceOptions
Auto Trait Implementations§
impl Freeze for GifloadSourceOptions
impl RefUnwindSafe for GifloadSourceOptions
impl Send for GifloadSourceOptions
impl Sync for GifloadSourceOptions
impl Unpin for GifloadSourceOptions
impl UnwindSafe for GifloadSourceOptions
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)