Struct rusty_spine::atlas::AtlasRegion
source · pub struct AtlasRegion { /* private fields */ }
Implementations
sourceimpl AtlasRegion
impl AtlasRegion
pub fn texture_region(&self) -> CTmpRef<'_, Self, TextureRegion>
pub fn texture_region_mut(&mut self) -> CTmpMut<'_, Self, TextureRegion>
pub fn name(&self) -> &str
pub fn x(&self) -> i32
pub fn y(&self) -> i32
pub fn index(&self) -> i32
pub fn splits(&self) -> Option<&[c_int; 4]>
pub fn pads(&self) -> Option<&[c_int; 4]>
pub fn page(&self) -> CTmpRef<'_, Self, AtlasPage>
pub fn page_mut(&mut self) -> CTmpMut<'_, Self, AtlasPage>
pub fn key_values(&self) -> Vec<KeyValue>
pub fn c_ptr(&self) -> *mut spAtlasRegion
Trait Implementations
sourceimpl Debug for AtlasRegion
impl Debug for AtlasRegion
sourceimpl NewFromPtr<spAtlasRegion> for AtlasRegion
impl NewFromPtr<spAtlasRegion> for AtlasRegion
unsafe fn new_from_ptr(c_atlas_region: *const spAtlasRegion) -> Self
Auto Trait Implementations
impl RefUnwindSafe for AtlasRegion
impl Send for AtlasRegion
impl Sync for AtlasRegion
impl Unpin for AtlasRegion
impl UnwindSafe for AtlasRegion
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