Struct rusty_spine::c::spTextureRegion
source · #[repr(C)]pub struct spTextureRegion {
pub rendererObject: *mut c_void,
pub u: c_float,
pub v: c_float,
pub u2: c_float,
pub v2: c_float,
pub degrees: c_int,
pub offsetX: c_float,
pub offsetY: c_float,
pub width: c_int,
pub height: c_int,
pub originalWidth: c_int,
pub originalHeight: c_int,
}
Fields
rendererObject: *mut c_void
u: c_float
v: c_float
u2: c_float
v2: c_float
degrees: c_int
offsetX: c_float
offsetY: c_float
width: c_int
height: c_int
originalWidth: c_int
originalHeight: c_int
Trait Implementations
sourceimpl Clone for spTextureRegion
impl Clone for spTextureRegion
sourcefn clone(&self) -> spTextureRegion
fn clone(&self) -> spTextureRegion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl NewFromPtr<spTextureRegion> for TextureRegion
impl NewFromPtr<spTextureRegion> for TextureRegion
unsafe fn new_from_ptr(c_texture_region: *const spTextureRegion) -> Self
impl Copy for spTextureRegion
Auto Trait Implementations
impl RefUnwindSafe for spTextureRegion
impl !Send for spTextureRegion
impl !Sync for spTextureRegion
impl Unpin for spTextureRegion
impl UnwindSafe for spTextureRegion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more