[][src]Struct libvips::ops::EmbedOptions

pub struct EmbedOptions {
    pub extend: Extend,
    pub background: Vec<f64>,
}

Options for embed operation

Fields

extend: Extend

extend: Extend -> How to generate the extra pixels Black -> VIPS_EXTEND_BLACK = 0 [DEFAULT] Copy -> VIPS_EXTEND_COPY = 1 Repeat -> VIPS_EXTEND_REPEAT = 2 Mirror -> VIPS_EXTEND_MIRROR = 3 White -> VIPS_EXTEND_WHITE = 4 Background -> VIPS_EXTEND_BACKGROUND = 5 Last -> VIPS_EXTEND_LAST = 6

background: Vec<f64>

background: Vec<f64> -> Color for background pixels

Trait Implementations

impl Clone for EmbedOptions[src]

impl Debug for EmbedOptions[src]

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