Struct rusty_spine::TextureRegion
source · pub struct TextureRegion { /* private fields */ }
Implementations
sourceimpl TextureRegion
impl TextureRegion
pub fn u(&self) -> f32
pub fn v(&self) -> f32
pub fn u2(&self) -> f32
pub fn v2(&self) -> f32
pub fn degrees(&self) -> i32
pub fn offset_x(&self) -> f32
pub fn offset_y(&self) -> f32
pub fn width(&self) -> i32
pub fn height(&self) -> i32
pub fn original_width(&self) -> i32
pub fn original_height(&self) -> i32
pub fn renderer_object(&self) -> RendererObject<'_>
pub fn c_ptr(&self) -> *mut spTextureRegion
Trait Implementations
sourceimpl Debug for TextureRegion
impl Debug for TextureRegion
sourceimpl NewFromPtr<spTextureRegion> for TextureRegion
impl NewFromPtr<spTextureRegion> for TextureRegion
unsafe fn new_from_ptr(c_texture_region: *const spTextureRegion) -> Self
Auto Trait Implementations
impl RefUnwindSafe for TextureRegion
impl Send for TextureRegion
impl Sync for TextureRegion
impl Unpin for TextureRegion
impl UnwindSafe for TextureRegion
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