Struct rusty_spine::c::spPathConstraint
source · #[repr(C)]pub struct spPathConstraint {Show 21 fields
pub data: *mut spPathConstraintData,
pub bonesCount: c_int,
pub bones: *mut *mut spBone,
pub target: *mut spSlot,
pub position: c_float,
pub spacing: c_float,
pub mixRotate: c_float,
pub mixX: c_float,
pub mixY: c_float,
pub spacesCount: c_int,
pub spaces: *mut c_float,
pub positionsCount: c_int,
pub positions: *mut c_float,
pub worldCount: c_int,
pub world: *mut c_float,
pub curvesCount: c_int,
pub curves: *mut c_float,
pub lengthsCount: c_int,
pub lengths: *mut c_float,
pub segments: [c_float; 10],
pub active: c_int,
}
Fields§
§data: *mut spPathConstraintData
§bonesCount: c_int
§bones: *mut *mut spBone
§target: *mut spSlot
§position: c_float
§spacing: c_float
§mixRotate: c_float
§mixX: c_float
§mixY: c_float
§spacesCount: c_int
§spaces: *mut c_float
§positionsCount: c_int
§positions: *mut c_float
§worldCount: c_int
§world: *mut c_float
§curvesCount: c_int
§curves: *mut c_float
§lengthsCount: c_int
§lengths: *mut c_float
§segments: [c_float; 10]
§active: c_int
Trait Implementations§
source§impl Clone for spPathConstraint
impl Clone for spPathConstraint
source§fn clone(&self) -> spPathConstraint
fn clone(&self) -> spPathConstraint
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 spPathConstraint
Auto Trait Implementations§
impl Freeze for spPathConstraint
impl RefUnwindSafe for spPathConstraint
impl !Send for spPathConstraint
impl !Sync for spPathConstraint
impl Unpin for spPathConstraint
impl UnwindSafe for spPathConstraint
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