pub struct Attachment { /* private fields */ }Implementations§
Source§impl Attachment
impl Attachment
pub fn id(&self) -> u32
pub fn set_id(&mut self, value: u32)
pub fn bone_id(&self) -> u16
pub fn set_bone_id(&mut self, value: u16)
pub fn unknown(&self) -> u16
pub fn set_unknown(&mut self, value: u16)
pub fn position(&self) -> Vector3f
pub fn set_position(&mut self, value: Vector3f)
Sourcepub fn animate(&self) -> Ref<'_, AnimationTrackU8>
pub fn animate(&self) -> Ref<'_, AnimationTrackU8>
Borrows the field in place — no copy, no allocation.
pub fn animate_mut(&mut self) -> RefMut<'_, AnimationTrackU8>
Trait Implementations§
Source§impl Debug for Attachment
impl Debug for Attachment
Source§impl Default for Attachment
impl Default for Attachment
Source§impl Drop for Attachment
impl Drop for Attachment
impl Send for Attachment
Auto Trait Implementations§
impl !Sync for Attachment
impl Freeze for Attachment
impl RefUnwindSafe for Attachment
impl Unpin for Attachment
impl UnsafeUnpin for Attachment
impl UnwindSafe for Attachment
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