Struct rusty_spine::ClippingAttachment
source · pub struct ClippingAttachment { /* private fields */ }
Expand description
An attachment which clips rendering of other attachments.
Implementations§
source§impl ClippingAttachment
impl ClippingAttachment
pub fn name(&self) -> &str
pub fn attachment_type(&self) -> AttachmentType
sourcepub const fn c_ptr(&self) -> *mut spClippingAttachment
pub const fn c_ptr(&self) -> *mut spClippingAttachment
Get a pointer to the underlying spine-c
type.
pub fn color(&self) -> Color
pub fn color_mut(&mut self) -> &mut Color
pub fn end_slot(&self) -> CTmpRef<'_, Self, SlotData>
pub fn end_slot_mut(&mut self) -> CTmpMut<'_, Self, SlotData>
Trait Implementations§
source§impl Debug for ClippingAttachment
impl Debug for ClippingAttachment
source§impl NewFromPtr<spClippingAttachment> for ClippingAttachment
impl NewFromPtr<spClippingAttachment> for ClippingAttachment
unsafe fn new_from_ptr(c_clipping_attachment: *mut spClippingAttachment) -> Self
Auto Trait Implementations§
impl Freeze for ClippingAttachment
impl RefUnwindSafe for ClippingAttachment
impl Send for ClippingAttachment
impl Sync for ClippingAttachment
impl Unpin for ClippingAttachment
impl UnwindSafe for ClippingAttachment
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