Struct rusty_spine::c::spSlot
source · #[repr(C)]pub struct spSlot {
pub data: *mut spSlotData,
pub bone: *mut spBone,
pub color: spColor,
pub darkColor: *mut spColor,
pub attachment: *mut spAttachment,
pub attachmentState: c_int,
pub deformCapacity: c_int,
pub deformCount: c_int,
pub deform: *mut c_float,
pub sequenceIndex: c_int,
}
Fields§
§data: *mut spSlotData
§bone: *mut spBone
§color: spColor
§darkColor: *mut spColor
§attachment: *mut spAttachment
§attachmentState: c_int
§deformCapacity: c_int
§deformCount: c_int
§deform: *mut c_float
§sequenceIndex: c_int
Trait Implementations§
source§impl NewFromPtr<spSlot> for Slot
impl NewFromPtr<spSlot> for Slot
unsafe fn new_from_ptr(c_slot: *mut spSlot) -> Self
impl Copy for spSlot
Auto Trait Implementations§
impl Freeze for spSlot
impl RefUnwindSafe for spSlot
impl !Send for spSlot
impl !Sync for spSlot
impl Unpin for spSlot
impl UnwindSafe for spSlot
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