pub trait PasteExt {
    fn paste(&self, texture: &Texture<'_>, target_area: Option<Rect>);
    fn paste_ex(&self, texture: &Texture<'_>, options: PasteExOption);
}
Expand description

An extension for Renderer to paste from another texture.

Required Methods§

Pastes the texture into target_area, or whole if None.

Pastes the texture with options PasteExOption.

Implementors§