Struct rusty_spine::c::spTrackEntry

source ·
#[repr(C)]
pub struct spTrackEntry {
Show 37 fields pub animation: *mut spAnimation, pub previous: *mut spTrackEntry, pub next: *mut spTrackEntry, pub mixingFrom: *mut spTrackEntry, pub mixingTo: *mut spTrackEntry, pub listener: spAnimationStateListener, pub trackIndex: c_int, pub loop_0: c_int, pub holdPrevious: c_int, pub reverse: c_int, pub shortestRotation: c_int, pub eventThreshold: c_float, pub mixAttachmentThreshold: c_float, pub alphaAttachmentThreshold: c_float, pub mixDrawOrderThreshold: c_float, pub animationStart: c_float, pub animationEnd: c_float, pub animationLast: c_float, pub nextAnimationLast: c_float, pub delay: c_float, pub trackTime: c_float, pub trackLast: c_float, pub nextTrackLast: c_float, pub trackEnd: c_float, pub timeScale: c_float, pub alpha: c_float, pub mixTime: c_float, pub mixDuration: c_float, pub interruptAlpha: c_float, pub totalAlpha: c_float, pub mixBlend: spMixBlend, pub timelineMode: *mut spIntArray, pub timelineHoldMix: *mut spTrackEntryArray, pub timelinesRotation: *mut c_float, pub timelinesRotationCount: c_int, pub rendererObject: *mut c_void, pub userData: *mut c_void,
}

Fields§

§animation: *mut spAnimation§previous: *mut spTrackEntry§next: *mut spTrackEntry§mixingFrom: *mut spTrackEntry§mixingTo: *mut spTrackEntry§listener: spAnimationStateListener§trackIndex: c_int§loop_0: c_int§holdPrevious: c_int§reverse: c_int§shortestRotation: c_int§eventThreshold: c_float§mixAttachmentThreshold: c_float§alphaAttachmentThreshold: c_float§mixDrawOrderThreshold: c_float§animationStart: c_float§animationEnd: c_float§animationLast: c_float§nextAnimationLast: c_float§delay: c_float§trackTime: c_float§trackLast: c_float§nextTrackLast: c_float§trackEnd: c_float§timeScale: c_float§alpha: c_float§mixTime: c_float§mixDuration: c_float§interruptAlpha: c_float§totalAlpha: c_float§mixBlend: spMixBlend§timelineMode: *mut spIntArray§timelineHoldMix: *mut spTrackEntryArray§timelinesRotation: *mut c_float§timelinesRotationCount: c_int§rendererObject: *mut c_void§userData: *mut c_void

Trait Implementations§

source§

impl Clone for spTrackEntry

source§

fn clone(&self) -> spTrackEntry

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl NewFromPtr<spTrackEntry> for TrackEntry

source§

unsafe fn new_from_ptr(c_track_entry: *mut spTrackEntry) -> Self

source§

impl Copy for spTrackEntry

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.