Struct gltf_json::extensions::texture::TextureTransformRotation
source · pub struct TextureTransformRotation(pub f32);
Expand description
Rotate the UVs by this many radians counter-clockwise around the origin. This is equivalent to a similar rotation of the image clockwise.
Tuple Fields§
§0: f32
Trait Implementations§
source§impl Clone for TextureTransformRotation
impl Clone for TextureTransformRotation
source§fn clone(&self) -> TextureTransformRotation
fn clone(&self) -> TextureTransformRotation
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 TextureTransformRotation
impl Debug for TextureTransformRotation
source§impl Default for TextureTransformRotation
impl Default for TextureTransformRotation
source§impl<'de> Deserialize<'de> for TextureTransformRotation
impl<'de> Deserialize<'de> for TextureTransformRotation
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 TextureTransformRotation
impl Serialize for TextureTransformRotation
source§impl Validate for TextureTransformRotation
impl Validate for TextureTransformRotation
impl Copy for TextureTransformRotation
Auto Trait Implementations§
impl Freeze for TextureTransformRotation
impl RefUnwindSafe for TextureTransformRotation
impl Send for TextureTransformRotation
impl Sync for TextureTransformRotation
impl Unpin for TextureTransformRotation
impl UnwindSafe for TextureTransformRotation
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