Struct gfx::texture::TextureCopyRegion [] [src]

pub struct TextureCopyRegion<T> {
    pub texture: T,
    pub kind: Kind,
    pub cube_face: Option<CubeFace>,
    pub info: ImageInfoCommon<Format>,
}

A texture region defined for copy operations

Fields

Raw texture

Texture kind

Optional cube face

Dimensions, offsets, and format

Methods

impl<T> TextureCopyRegion<T>
[src]

[src]

Change the texture

Trait Implementations

impl<T> Ord for TextureCopyRegion<T> where
    T: Ord
[src]

[src]

impl<T> Clone for TextureCopyRegion<T> where
    T: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T> PartialOrd<TextureCopyRegion<T>> for TextureCopyRegion<T> where
    T: PartialOrd<T>, 
[src]

[src]

[src]

[src]

[src]

[src]

impl<T> Hash for TextureCopyRegion<T> where
    T: Hash
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<T> PartialEq<TextureCopyRegion<T>> for TextureCopyRegion<T> where
    T: PartialEq<T>, 
[src]

[src]

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

[src]

This method tests for !=.

impl<T> Debug for TextureCopyRegion<T> where
    T: Debug
[src]

[src]

Formats the value using the given formatter.

impl<T> Eq for TextureCopyRegion<T> where
    T: Eq
[src]