#[repr(C)]pub struct spRegionAttachment {Show 19 fields
pub super_: spAttachment,
pub path: *const c_char,
pub x: f32,
pub y: f32,
pub scaleX: f32,
pub scaleY: f32,
pub rotation: f32,
pub width: f32,
pub height: f32,
pub color: spColor,
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 offset: [f32; 8],
pub uvs: [f32; 8],
}Fields§
§super_: spAttachment§path: *const c_char§x: f32§y: f32§scaleX: f32§scaleY: f32§rotation: f32§width: f32§height: f32§color: spColor§rendererObject: *mut c_void§regionOffsetX: c_int§regionOffsetY: c_int§regionWidth: c_int§regionHeight: c_int§regionOriginalWidth: c_int§regionOriginalHeight: c_int§offset: [f32; 8]§uvs: [f32; 8]Trait Implementations§
Source§impl Clone for spRegionAttachment
impl Clone for spRegionAttachment
Source§fn clone(&self) -> spRegionAttachment
fn clone(&self) -> spRegionAttachment
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 spRegionAttachment
Auto Trait Implementations§
impl !Send for spRegionAttachment
impl !Sync for spRegionAttachment
impl Freeze for spRegionAttachment
impl RefUnwindSafe for spRegionAttachment
impl Unpin for spRegionAttachment
impl UnsafeUnpin for spRegionAttachment
impl UnwindSafe for spRegionAttachment
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