#[repr(C)]pub struct tm_animation_player_api {
pub create: Option<unsafe extern "C" fn(*mut tm_allocator_i) -> *mut tm_animation_player_o>,
pub destroy: Option<unsafe extern "C" fn(*mut tm_animation_player_o)>,
pub parse_raw: Option<unsafe extern "C" fn(*mut tm_animation_player_o, *const tm_the_truth_o, tm_tt_id_t, *mut tm_temp_allocator_i) -> *mut tm_animation_raw_t>,
pub play_raw: Option<unsafe extern "C" fn(*mut tm_animation_player_o, *const tm_animation_raw_t) -> *mut tm_animation_player_playing_o>,
pub play: Option<unsafe extern "C" fn(*mut tm_animation_player_o, *const tm_the_truth_o, tm_tt_id_t) -> *mut tm_animation_player_playing_o>,
pub stop: Option<unsafe extern "C" fn(*mut tm_animation_player_playing_o)>,
pub set_time: Option<unsafe extern "C" fn(*mut tm_animation_player_playing_o, f64)>,
pub tick: Option<unsafe extern "C" fn(*mut tm_animation_player_o, f32) -> *mut tm_atomic_counter_o>,
}Fields§
§create: Option<unsafe extern "C" fn(*mut tm_allocator_i) -> *mut tm_animation_player_o>§destroy: Option<unsafe extern "C" fn(*mut tm_animation_player_o)>§parse_raw: Option<unsafe extern "C" fn(*mut tm_animation_player_o, *const tm_the_truth_o, tm_tt_id_t, *mut tm_temp_allocator_i) -> *mut tm_animation_raw_t>§play_raw: Option<unsafe extern "C" fn(*mut tm_animation_player_o, *const tm_animation_raw_t) -> *mut tm_animation_player_playing_o>§play: Option<unsafe extern "C" fn(*mut tm_animation_player_o, *const tm_the_truth_o, tm_tt_id_t) -> *mut tm_animation_player_playing_o>§stop: Option<unsafe extern "C" fn(*mut tm_animation_player_playing_o)>§set_time: Option<unsafe extern "C" fn(*mut tm_animation_player_playing_o, f64)>§tick: Option<unsafe extern "C" fn(*mut tm_animation_player_o, f32) -> *mut tm_atomic_counter_o>Trait Implementations§
Source§impl Clone for tm_animation_player_api
impl Clone for tm_animation_player_api
Source§fn clone(&self) -> tm_animation_player_api
fn clone(&self) -> tm_animation_player_api
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 moreimpl Copy for tm_animation_player_api
Auto Trait Implementations§
impl Freeze for tm_animation_player_api
impl RefUnwindSafe for tm_animation_player_api
impl Send for tm_animation_player_api
impl Sync for tm_animation_player_api
impl Unpin for tm_animation_player_api
impl UnwindSafe for tm_animation_player_api
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