#[repr(C)]pub struct ArkUI_ScaleOptions {
pub x: f32,
pub y: f32,
pub z: f32,
pub centerX: f32,
pub centerY: f32,
}Available on crate feature
api-12 only.Expand description
Defines the scaling options for component transition.
Available since API-level: 12
Fields§
§x: f32Scale ratio along the x-axis.
y: f32Scale ratio along the y-axis.
z: f32Scale factor along the z-axis (not effective for the current 2D graphics).
centerX: f32X coordinate of the center point.
centerY: f32Y coordinate of the center point.
Trait Implementations§
Source§impl Clone for ArkUI_ScaleOptions
impl Clone for ArkUI_ScaleOptions
Source§fn clone(&self) -> ArkUI_ScaleOptions
fn clone(&self) -> ArkUI_ScaleOptions
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArkUI_ScaleOptions
impl Debug for ArkUI_ScaleOptions
impl Copy for ArkUI_ScaleOptions
Auto Trait Implementations§
impl Freeze for ArkUI_ScaleOptions
impl RefUnwindSafe for ArkUI_ScaleOptions
impl Send for ArkUI_ScaleOptions
impl Sync for ArkUI_ScaleOptions
impl Unpin for ArkUI_ScaleOptions
impl UnwindSafe for ArkUI_ScaleOptions
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)