pub struct Texture(pub String);Expand description
The value of a texture variable in the Textures map.
The string value will either specify a location to load the texture from
or another texture variable to take its value from.
Tuple Fields
0: StringImplementations
Returns the resource location of the texture, or None if the texture
should instead take on the value of another texture variable.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Texture
impl UnwindSafe for Texture
Blanket Implementations
Mutably borrows from an owned value. Read more