Struct rusty_spine::c::spMeshAttachment
source · #[repr(C)]pub struct spMeshAttachment {Show 16 fields
pub super_0: spVertexAttachment,
pub rendererObject: *mut c_void,
pub region: *mut spTextureRegion,
pub sequence: *mut spSequence,
pub path: *const c_char,
pub regionUVs: *mut c_float,
pub uvs: *mut c_float,
pub trianglesCount: c_int,
pub triangles: *mut c_ushort,
pub color: spColor,
pub hullLength: c_int,
pub parentMesh: *mut spMeshAttachment,
pub edgesCount: c_int,
pub edges: *mut c_int,
pub width: c_float,
pub height: c_float,
}
Fields§
§super_0: spVertexAttachment
§rendererObject: *mut c_void
§region: *mut spTextureRegion
§sequence: *mut spSequence
§path: *const c_char
§regionUVs: *mut c_float
§uvs: *mut c_float
§trianglesCount: c_int
§triangles: *mut c_ushort
§color: spColor
§hullLength: c_int
§parentMesh: *mut spMeshAttachment
§edgesCount: c_int
§edges: *mut c_int
§width: c_float
§height: c_float
Trait Implementations§
source§impl Clone for spMeshAttachment
impl Clone for spMeshAttachment
source§fn clone(&self) -> spMeshAttachment
fn clone(&self) -> spMeshAttachment
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 moresource§impl NewFromPtr<spMeshAttachment> for MeshAttachment
impl NewFromPtr<spMeshAttachment> for MeshAttachment
unsafe fn new_from_ptr(c_mesh_attachment: *mut spMeshAttachment) -> Self
impl Copy for spMeshAttachment
Auto Trait Implementations§
impl Freeze for spMeshAttachment
impl RefUnwindSafe for spMeshAttachment
impl !Send for spMeshAttachment
impl !Sync for spMeshAttachment
impl Unpin for spMeshAttachment
impl UnwindSafe for spMeshAttachment
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