#[repr(C)]pub struct ArkUI_AnimateCompleteCallback {
pub type_: ArkUI_FinishCallbackType,
pub callback: Option<unsafe extern "C" fn(userData: *mut c_void)>,
pub userData: *mut c_void,
}Available on crate feature
api-12 only.Expand description
Defines the callback type for when the animation playback is complete.
Available since API-level: 12
Fields§
§type_: ArkUI_FinishCallbackTypeType of the onFinish callback.
callback: Option<unsafe extern "C" fn(userData: *mut c_void)>Callback invoked when the animation playback is complete.
userData: *mut c_voidCustom type.
Auto Trait Implementations§
impl Freeze for ArkUI_AnimateCompleteCallback
impl RefUnwindSafe for ArkUI_AnimateCompleteCallback
impl !Send for ArkUI_AnimateCompleteCallback
impl !Sync for ArkUI_AnimateCompleteCallback
impl Unpin for ArkUI_AnimateCompleteCallback
impl UnwindSafe for ArkUI_AnimateCompleteCallback
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