Struct gltf_json::extensions::texture::TextureTransformOffset
source · pub struct TextureTransformOffset(pub [f32; 2]);
Expand description
The offset of the UV coordinate origin as a factor of the texture dimensions.
Tuple Fields§
§0: [f32; 2]
Trait Implementations§
source§impl Clone for TextureTransformOffset
impl Clone for TextureTransformOffset
source§fn clone(&self) -> TextureTransformOffset
fn clone(&self) -> TextureTransformOffset
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 TextureTransformOffset
impl Debug for TextureTransformOffset
source§impl Default for TextureTransformOffset
impl Default for TextureTransformOffset
source§impl<'de> Deserialize<'de> for TextureTransformOffset
impl<'de> Deserialize<'de> for TextureTransformOffset
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 TextureTransformOffset
impl Serialize for TextureTransformOffset
source§impl Validate for TextureTransformOffset
impl Validate for TextureTransformOffset
impl Copy for TextureTransformOffset
Auto Trait Implementations§
impl Freeze for TextureTransformOffset
impl RefUnwindSafe for TextureTransformOffset
impl Send for TextureTransformOffset
impl Sync for TextureTransformOffset
impl Unpin for TextureTransformOffset
impl UnwindSafe for TextureTransformOffset
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