pub struct BlitDraw {
pub rect: Rect,
pub uv: [f32; 4],
pub target: RenderTargetId,
pub opacity: f32,
}Expand description
Copy of an offscreen target into the current paint target.
Fields§
§rect: RectDestination rectangle in logical coordinates.
uv: [f32; 4]Texture coordinates as [u0, v0, u1, v1].
target: RenderTargetIdOffscreen target to copy.
opacity: f32Additional opacity in the range 0..=1.
Trait Implementations§
impl Copy for BlitDraw
impl StructuralPartialEq for BlitDraw
Auto Trait Implementations§
impl Freeze for BlitDraw
impl RefUnwindSafe for BlitDraw
impl Send for BlitDraw
impl Sync for BlitDraw
impl Unpin for BlitDraw
impl UnsafeUnpin for BlitDraw
impl UnwindSafe for BlitDraw
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more