pub struct TextureProperties<'a> { /* private fields */ }
Expand description

Proxy type to texture properties.

Implementations

Returns default alpha value.

Returns default alpha value.

Returns default if the value is not set.

Returns wrap mode U.

Returns wrap mode U.

Returns default if the value is not set.

Returns wrap mode V.

Returns wrap mode V.

Returns default if the value is not set.

Returns whether the UV should be swapped or not.

Returns Some(true) if UV should be swapped.

Returns whether the UV should be swapped or not.

Returns true if UV should be swapped.

Returns default if the value is not set.

Returns premultiply-alpha flag.

Returns Some(true) if the alpha is premultiplied.

Returns premultiply-alpha flag.

Returns true if the alpha is premultiplied.

Returns default if the value is not set.

Returns default translation vector.

Returns default translation vector.

Returns default if the value is not set.

Returns default rotation vector.

Returns default rotation vector.

Returns default if the value is not set.

Returns default scaling vector.

Returns default scaling vector.

Returns default if the value is not set.

Returns rotation pivot vector.

Returns rotation pivot vector.

Returns default if the value is not set.

Returns rotation pivot vector.

Returns scaling pivot vector.

Returns default if the value is not set.

Returns texture blend mode.

Returns texture blend mode.

Returns default if the value is not set.

Returns UV set name.

Returns UV set name.

Returns default if the value is not set.

Methods from Deref<Target = ObjectProperties<'a>>

Returns property handle if found.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

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.