Struct rusty_spine::SlotData
source · [−]pub struct SlotData { /* private fields */ }
Expand description
Static slot data imported from Spine.
Implementations
sourceimpl SlotData
impl SlotData
pub fn set_attachment_name(&mut self, attachment_name: &str)
pub fn index(&self) -> i32
pub fn name(&self) -> &str
pub fn bone_data(&self) -> CTmpRef<'_, Self, BoneData>
pub fn bone_data_mut(&mut self) -> CTmpMut<'_, Self, BoneData>
pub fn attachment_name(&self) -> &str
pub fn color(&self) -> Color
pub fn color_mut(&mut self) -> &mut Color
pub fn dark_color(&self) -> Option<Color>
pub fn blend_mode(&self) -> BlendMode
pub fn set_blend_mode(&self, value: BlendMode)
pub fn c_ptr(&self) -> *mut spSlotData
Trait Implementations
sourceimpl NewFromPtr<spSlotData> for SlotData
impl NewFromPtr<spSlotData> for SlotData
unsafe fn new_from_ptr(c_slot_data: *const spSlotData) -> Self
Auto Trait Implementations
impl RefUnwindSafe for SlotData
impl Send for SlotData
impl Sync for SlotData
impl Unpin for SlotData
impl UnwindSafe for SlotData
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