#[repr(C)]pub struct ArkUI_TranslationOptions {
pub x: f32,
pub y: f32,
pub z: f32,
}Available on crate feature
api-12 only.Expand description
Defines the translation options for component transition.
Available since API-level: 12
Fields§
§x: f32Translation distance along the x-axis.
y: f32Translation distance along the y-axis.
z: f32Translation distance along the z-axis.
Trait Implementations§
Source§impl Clone for ArkUI_TranslationOptions
impl Clone for ArkUI_TranslationOptions
Source§fn clone(&self) -> ArkUI_TranslationOptions
fn clone(&self) -> ArkUI_TranslationOptions
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 moreimpl Copy for ArkUI_TranslationOptions
Auto Trait Implementations§
impl Freeze for ArkUI_TranslationOptions
impl RefUnwindSafe for ArkUI_TranslationOptions
impl Send for ArkUI_TranslationOptions
impl Sync for ArkUI_TranslationOptions
impl Unpin for ArkUI_TranslationOptions
impl UnwindSafe for ArkUI_TranslationOptions
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