Struct gltf_json::extensions::texture::TextureTransformScale
source · pub struct TextureTransformScale(pub [f32; 2]);
Expand description
The scale factor applied to the components of the UV coordinates.
Tuple Fields§
§0: [f32; 2]
Trait Implementations§
source§impl Clone for TextureTransformScale
impl Clone for TextureTransformScale
source§fn clone(&self) -> TextureTransformScale
fn clone(&self) -> TextureTransformScale
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TextureTransformScale
impl Debug for TextureTransformScale
source§impl Default for TextureTransformScale
impl Default for TextureTransformScale
source§impl<'de> Deserialize<'de> for TextureTransformScale
impl<'de> Deserialize<'de> for TextureTransformScale
source§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
source§impl Serialize for TextureTransformScale
impl Serialize for TextureTransformScale
source§impl Validate for TextureTransformScale
impl Validate for TextureTransformScale
impl Copy for TextureTransformScale
Auto Trait Implementations§
impl Freeze for TextureTransformScale
impl RefUnwindSafe for TextureTransformScale
impl Send for TextureTransformScale
impl Sync for TextureTransformScale
impl Unpin for TextureTransformScale
impl UnwindSafe for TextureTransformScale
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more