pub struct Texture { /* fields omitted */ }
Used for drawing custom textures.
Creates a new texture from a file path.
Draws the texture
Gets the TypeId of self. Read more
TypeId
self
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Performs the conversion.
The type returned in the event of a conversion error.