pub struct KittyImageFrameCompose {
    pub image_id: Option<u32>,
    pub image_number: Option<u32>,
    pub target_frame: Option<u32>,
    pub source_frame: Option<u32>,
    pub x: Option<u32>,
    pub y: Option<u32>,
    pub w: Option<u32>,
    pub h: Option<u32>,
    pub src_x: Option<u32>,
    pub src_y: Option<u32>,
    pub composition_mode: KittyFrameCompositionMode,
}

Fields

image_id: Option<u32>

i=…

image_number: Option<u32>

I=…

target_frame: Option<u32>

1-based number of the frame which should be the base data for the new frame being created. If omitted, use background_pixel to specify color. c=…

source_frame: Option<u32>

1-based number of the frame which should be edited. If omitted, a new frame is created. r=…

x: Option<u32>

Left edge in pixels to update x=…

y: Option<u32>

Top edge in pixels to update y=…

w: Option<u32>

Width (in pixels) of the source and destination rectangles. By default the full width is used. w=…

h: Option<u32>

Height (in pixels) of the source and destination rectangles. By default the full height is used. h=…

src_x: Option<u32>

Left edge in pixels of the source rectangle X=…

src_y: Option<u32>

Top edge in pixels of the source rectangle Y=…

composition_mode: KittyFrameCompositionMode

Composition mode. Default is AlphaBlending C=…

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.

Should always be Self

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.