pub struct ObjectScale {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
Per-axis scale factors for the object’s 3D model.
Fields§
§x: f32X-axis scale.
y: f32Y-axis scale.
z: f32Z-axis scale.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectScale
impl Clone for ObjectScale
impl Copy for ObjectScale
Source§impl Debug for ObjectScale
impl Debug for ObjectScale
Source§impl Default for ObjectScale
impl Default for ObjectScale
Source§impl<'de> Deserialize<'de> for ObjectScale
impl<'de> Deserialize<'de> for ObjectScale
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 PartialEq for ObjectScale
impl PartialEq for ObjectScale
Source§impl Serialize for ObjectScale
impl Serialize for ObjectScale
impl StructuralPartialEq for ObjectScale
Auto Trait Implementations§
impl Forget for ObjectScale
impl Freeze for ObjectScale
impl Move for ObjectScale
impl RefUnwindSafe for ObjectScale
impl Send for ObjectScale
impl Sync for ObjectScale
impl Unpin for ObjectScale
impl UnsafeUnpin for ObjectScale
impl UnwindSafe for ObjectScale
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