pub struct ScalingInfo(/* private fields */);Expand description
This structure gathers the information about the scaling.
Implementations§
Source§impl ScalingInfo
impl ScalingInfo
pub fn new(scale_x: f64, scale_y: f64, scale_z: f64) -> Self
pub fn get_scale_x(&self) -> f64
pub fn get_scale_y(&self) -> f64
pub fn get_scale_z(&self) -> f64
pub fn set_scale_x(&mut self, scale_x: f64)
pub fn set_scale_y(&mut self, scale_y: f64)
pub fn set_scale_z(&mut self, scale_z: f64)
Trait Implementations§
Source§impl Clone for ScalingInfo
impl Clone for ScalingInfo
Source§fn clone(&self) -> ScalingInfo
fn clone(&self) -> ScalingInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ScalingInfo
impl RefUnwindSafe for ScalingInfo
impl Send for ScalingInfo
impl Sync for ScalingInfo
impl Unpin for ScalingInfo
impl UnsafeUnpin for ScalingInfo
impl UnwindSafe for ScalingInfo
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