pub struct PathConstraintData { /* private fields */ }Implementations§
Source§impl PathConstraintData
impl PathConstraintData
pub fn new(name: impl Into<String>) -> Self
pub fn get_name(&self) -> &str
pub fn get_skin_required(&self) -> bool
pub fn set_skin_required(&mut self, skin_required: bool)
pub fn get_bones(&self) -> &[usize]
pub fn get_bones_mut(&mut self) -> &mut Vec<usize>
pub fn get_slot<'a>(&self, skeleton_data: &'a SkeletonData) -> &'a SlotData
pub fn set_slot(&mut self, slot: &SlotData)
pub fn get_position_mode(&self) -> PositionMode
pub fn set_position_mode(&mut self, position_mode: PositionMode)
pub fn get_spacing_mode(&self) -> SpacingMode
pub fn set_spacing_mode(&mut self, spacing_mode: SpacingMode)
pub fn get_rotate_mode(&self) -> RotateMode
pub fn set_rotate_mode(&mut self, rotate_mode: RotateMode)
pub fn get_offset_rotation(&self) -> f32
pub fn set_offset_rotation(&mut self, offset_rotation: f32)
pub fn get_position(&self) -> f32
pub fn set_position(&mut self, position: f32)
pub fn get_spacing(&self) -> f32
pub fn set_spacing(&mut self, spacing: f32)
pub fn get_mix_rotate(&self) -> f32
pub fn set_mix_rotate(&mut self, mix_rotate: f32)
pub fn get_mix_x(&self) -> f32
pub fn set_mix_x(&mut self, mix_x: f32)
pub fn get_mix_y(&self) -> f32
pub fn set_mix_y(&mut self, mix_y: f32)
Trait Implementations§
Source§impl Clone for PathConstraintData
impl Clone for PathConstraintData
Source§fn clone(&self) -> PathConstraintData
fn clone(&self) -> PathConstraintData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PathConstraintData
impl RefUnwindSafe for PathConstraintData
impl Send for PathConstraintData
impl Sync for PathConstraintData
impl Unpin for PathConstraintData
impl UnsafeUnpin for PathConstraintData
impl UnwindSafe for PathConstraintData
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