[][src]Struct libvips::ops::GifloadBufferOptions

pub struct GifloadBufferOptions {
    pub page: i32,
    pub n: i32,
    pub flags: ForeignFlags,
    pub memory: bool,
    pub access: Access,
    pub fail: bool,
}

Options for gifload_buffer operation

Fields

page: i32

page: i32 -> Load this page from the file min: 0, max: 100000, default: 0

n: i32

n: i32 -> Load this many pages min: -1, max: 100000, default: 1

flags: ForeignFlags

flags: 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: bool

memory: bool -> Force open via memory default: false

access: Access

access: 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: bool

fail: bool -> Fail on first error default: false

Trait Implementations

impl Clone for GifloadBufferOptions[src]

impl Debug for GifloadBufferOptions[src]

impl Default for GifloadBufferOptions[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.