#[repr(C)]pub struct spAtlasRegion {Show 21 fields
pub name: *const c_char,
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
pub u: f32,
pub v: f32,
pub u2: f32,
pub v2: f32,
pub offsetX: c_int,
pub offsetY: c_int,
pub originalWidth: c_int,
pub originalHeight: c_int,
pub index: c_int,
pub rotate: c_int,
pub degrees: c_int,
pub flip: c_int,
pub splits: *mut c_int,
pub pads: *mut c_int,
pub page: *mut spAtlasPage,
pub next: *mut spAtlasRegion,
}Fields§
§name: *const c_char§x: c_int§y: c_int§width: c_int§height: c_int§u: f32§v: f32§u2: f32§v2: f32§offsetX: c_int§offsetY: c_int§originalWidth: c_int§originalHeight: c_int§index: c_int§rotate: c_int§degrees: c_int§flip: c_int§splits: *mut c_int§pads: *mut c_int§page: *mut spAtlasPage§next: *mut spAtlasRegionTrait Implementations§
Source§impl Clone for spAtlasRegion
impl Clone for spAtlasRegion
Source§fn clone(&self) -> spAtlasRegion
fn clone(&self) -> spAtlasRegion
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 spAtlasRegion
Auto Trait Implementations§
impl !Send for spAtlasRegion
impl !Sync for spAtlasRegion
impl Freeze for spAtlasRegion
impl RefUnwindSafe for spAtlasRegion
impl Unpin for spAtlasRegion
impl UnsafeUnpin for spAtlasRegion
impl UnwindSafe for spAtlasRegion
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