pub struct Scale {
pub x: Option<f32>,
pub y: Option<f32>,
}Expand description
Request information for crate::client::SceneItems::set_transform as part of
SceneItemTransform.
Fields§
§x: Option<f32>The x-scale factor of the source.
y: Option<f32>The y-scale factor of the source.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scale
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnsafeUnpin for Scale
impl UnwindSafe for Scale
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