[][src]Struct screen_13::gpu::copy::CopyOp

pub struct CopyOp { /* fields omitted */ }

A container of graphics types for efficiently copying textures between each other.

NOTE: Regions submitted for copy operations do not need to be valid regions for the given textures; they can overlap or fall off the edges.

Implementations

impl CopyOp[src]

#[must_use]pub fn with_region(&mut self, src_region: Area, dst: Extent) -> &mut Self[src]

Specifies an identically-sized area of the source and destination to copy, and the position on the destination where the data will go.

pub fn record(&mut self)[src]

Submits the given copy for hardware processing.

Trait Implementations

impl Drop for CopyOp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.