pub struct CompositeOptions {
    pub x: Vec<i32>,
    pub y: Vec<i32>,
    pub compositing_space: Interpretation,
    pub premultiplied: bool,
}
Expand description

Options for composite operation

Fields§

§x: Vec<i32>

x: Vec<i32> -> Array of x coordinates to join at

§y: Vec<i32>

y: Vec<i32> -> Array of y coordinates to join at

§compositing_space: Interpretation

compositing_space: Interpretation -> Composite images in this colour space Error -> VIPS_INTERPRETATION_ERROR = -1 Multiband -> VIPS_INTERPRETATION_MULTIBAND = 0 BW -> VIPS_INTERPRETATION_B_W = 1 Histogram -> VIPS_INTERPRETATION_HISTOGRAM = 10 Xyz -> VIPS_INTERPRETATION_XYZ = 12 Lab -> VIPS_INTERPRETATION_LAB = 13 Cmyk -> VIPS_INTERPRETATION_CMYK = 15 Labq -> VIPS_INTERPRETATION_LABQ = 16 Rgb -> VIPS_INTERPRETATION_RGB = 17 Cmc -> VIPS_INTERPRETATION_CMC = 18 Lch -> VIPS_INTERPRETATION_LCH = 19 Lab -> VIPS_INTERPRETATION_LABS = 21 Srgb -> VIPS_INTERPRETATION_sRGB = 22 [DEFAULT] Yxy -> VIPS_INTERPRETATION_YXY = 23 Fourier -> VIPS_INTERPRETATION_FOURIER = 24 Rgb16 -> VIPS_INTERPRETATION_RGB16 = 25 Grey16 -> VIPS_INTERPRETATION_GREY16 = 26 Matrix -> VIPS_INTERPRETATION_MATRIX = 27 Scrgb -> VIPS_INTERPRETATION_scRGB = 28 Hsv -> VIPS_INTERPRETATION_HSV = 29 Last -> VIPS_INTERPRETATION_LAST = 30

§premultiplied: bool

premultiplied: bool -> Images have premultiplied alpha default: false

Trait Implementations§

source§

impl Clone for CompositeOptions

source§

fn clone(&self) -> CompositeOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CompositeOptions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CompositeOptions

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.