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
sourceimpl Clone for KittyImageFrameCompose
impl Clone for KittyImageFrameCompose
sourcefn clone(&self) -> KittyImageFrameCompose
fn clone(&self) -> KittyImageFrameCompose
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KittyImageFrameCompose
impl Debug for KittyImageFrameCompose
sourceimpl PartialEq<KittyImageFrameCompose> for KittyImageFrameCompose
impl PartialEq<KittyImageFrameCompose> for KittyImageFrameCompose
sourcefn eq(&self, other: &KittyImageFrameCompose) -> bool
fn eq(&self, other: &KittyImageFrameCompose) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &KittyImageFrameCompose) -> bool
fn ne(&self, other: &KittyImageFrameCompose) -> bool
This method tests for !=
.
impl Eq for KittyImageFrameCompose
impl StructuralEq for KittyImageFrameCompose
impl StructuralPartialEq for KittyImageFrameCompose
Auto Trait Implementations
impl RefUnwindSafe for KittyImageFrameCompose
impl Send for KittyImageFrameCompose
impl Sync for KittyImageFrameCompose
impl Unpin for KittyImageFrameCompose
impl UnwindSafe for KittyImageFrameCompose
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more