pub struct ArrayjoinOptions {
    pub across: i32,
    pub shim: i32,
    pub background: Vec<f64>,
    pub halign: Align,
    pub valign: Align,
    pub hspacing: i32,
    pub vspacing: i32,
}
Expand description

Options for arrayjoin operation

Fields§

§across: i32

across: i32 -> Number of images across grid min: 1, max: 1000000, default: 1

§shim: i32

shim: i32 -> Pixels between images min: 0, max: 1000000, default: 0

§background: Vec<f64>

background: Vec<f64> -> Colour for new pixels

§halign: Align

halign: Align -> Align on the left, centre or right Low -> VIPS_ALIGN_LOW = 0 [DEFAULT] Centre -> VIPS_ALIGN_CENTRE = 1 High -> VIPS_ALIGN_HIGH = 2 Last -> VIPS_ALIGN_LAST = 3

§valign: Align

valign: Align -> Align on the top, centre or bottom Low -> VIPS_ALIGN_LOW = 0 [DEFAULT] Centre -> VIPS_ALIGN_CENTRE = 1 High -> VIPS_ALIGN_HIGH = 2 Last -> VIPS_ALIGN_LAST = 3

§hspacing: i32

hspacing: i32 -> Horizontal spacing between images min: 1, max: 1000000, default: 1

§vspacing: i32

vspacing: i32 -> Vertical spacing between images min: 1, max: 1000000, default: 1

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.