pub struct TextureSpec {
    pub color_format: ColorFormat,
    pub dimensions: [u32; 2],
    pub interpolation_min: InterpolationMin,
    pub interpolation_mag: InterpolationMag,
    pub wrap_t: WrapT,
    pub wrap_s: WrapS,
}

Fields

color_format: ColorFormatdimensions: [u32; 2]interpolation_min: InterpolationMininterpolation_mag: InterpolationMagwrap_t: WrapTwrap_s: WrapS

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.