#[repr(C)]pub struct spMeshAttachment {Show 26 fields
pub super_: spVertexAttachment,
pub rendererObject: *mut c_void,
pub regionOffsetX: c_int,
pub regionOffsetY: c_int,
pub regionWidth: c_int,
pub regionHeight: c_int,
pub regionOriginalWidth: c_int,
pub regionOriginalHeight: c_int,
pub regionU: f32,
pub regionV: f32,
pub regionU2: f32,
pub regionV2: f32,
pub regionRotate: c_int,
pub regionDegrees: c_int,
pub path: *const c_char,
pub regionUVs: *mut f32,
pub uvs: *mut f32,
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: f32,
pub height: f32,
}Fields§
§super_: spVertexAttachment§rendererObject: *mut c_void§regionOffsetX: c_int§regionOffsetY: c_int§regionWidth: c_int§regionHeight: c_int§regionOriginalWidth: c_int§regionOriginalHeight: c_int§regionU: f32§regionV: f32§regionU2: f32§regionV2: f32§regionRotate: c_int§regionDegrees: c_int§path: *const c_char§regionUVs: *mut f32§uvs: *mut f32§trianglesCount: c_int§triangles: *mut c_ushort§color: spColor§hullLength: c_int§parentMesh: *mut spMeshAttachment§edgesCount: c_int§edges: *mut c_int§width: f32§height: f32Trait Implementations§
Source§impl Clone for spMeshAttachment
impl Clone for spMeshAttachment
Source§fn clone(&self) -> spMeshAttachment
fn clone(&self) -> spMeshAttachment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for spMeshAttachment
Auto Trait Implementations§
impl !Send for spMeshAttachment
impl !Sync for spMeshAttachment
impl Freeze for spMeshAttachment
impl RefUnwindSafe for spMeshAttachment
impl Unpin for spMeshAttachment
impl UnsafeUnpin 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