Struct rusty_spine::MeshAttachment
source · [−]pub struct MeshAttachment { /* private fields */ }
Implementations
sourceimpl MeshAttachment
impl MeshAttachment
pub fn name(&self) -> &str
pub fn attachment_type(&self) -> AttachmentType
pub unsafe fn compute_world_vertices(
&self,
slot: &Slot,
start: i32,
count: i32,
world_vertices: &mut [f32],
offset: i32,
stride: i32
)
pub fn world_vertices_length(&self) -> i32
pub fn id(&self) -> i32
pub fn path(&self) -> &str
pub fn color(&self) -> Color
pub fn hull_length(&self) -> i32
pub fn width(&self) -> f32
pub fn height(&self) -> f32
pub fn triangles_count(&self) -> i32
pub fn renderer_object(&self) -> RendererObject<'_>
pub fn region(&self) -> CTmpRef<'_, Self, TextureRegion>
pub fn region_mut(&mut self) -> CTmpMut<'_, Self, TextureRegion>
pub fn parent_mesh(&self) -> CTmpRef<'_, Self, MeshAttachment>
pub fn parent_mesh_mut(&mut self) -> CTmpMut<'_, Self, MeshAttachment>
pub unsafe fn triangles(&self) -> *mut c_ushort
pub fn c_ptr(&self) -> *mut spMeshAttachment
Trait Implementations
sourceimpl Debug for MeshAttachment
impl Debug for MeshAttachment
sourceimpl NewFromPtr<spMeshAttachment> for MeshAttachment
impl NewFromPtr<spMeshAttachment> for MeshAttachment
unsafe fn new_from_ptr(c_mesh_attachment: *const spMeshAttachment) -> Self
Auto Trait Implementations
impl RefUnwindSafe for MeshAttachment
impl Send for MeshAttachment
impl Sync for MeshAttachment
impl Unpin for MeshAttachment
impl UnwindSafe for MeshAttachment
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