pub struct BoneAnimationSet { /* private fields */ }Expand description
BSET — Bone animation set (v0, 32 bytes)
Maps a bone to specific animation sequences with fallback support. In practice, always null in observed corpus data.
Implementations§
Source§impl BoneAnimationSet
impl BoneAnimationSet
Sourcepub fn animation_sequence_index(&self) -> u16
pub fn animation_sequence_index(&self) -> u16
Primary sequence index
pub fn set_animation_sequence_index(&mut self, value: u16)
Sourcepub fn fallback_sequence_index(&self) -> u16
pub fn fallback_sequence_index(&self) -> u16
Fallback sequence index
pub fn set_fallback_sequence_index(&mut self, value: u16)
pub fn set_name(&mut self, value: &str)
Sourcepub fn split_items(&self) -> &[u16]
pub fn split_items(&self) -> &[u16]
Split item indices (U16_)
Zero-copy view of the underlying std::vector.
Sourcepub fn split_items_mut(&mut self) -> &mut [u16]
pub fn split_items_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_split_items(&mut self, values: &[u16])
pub fn resize_split_items(&mut self, count: usize)
Trait Implementations§
Source§impl Debug for BoneAnimationSet
impl Debug for BoneAnimationSet
Source§impl Default for BoneAnimationSet
impl Default for BoneAnimationSet
Source§impl Drop for BoneAnimationSet
impl Drop for BoneAnimationSet
impl Send for BoneAnimationSet
Auto Trait Implementations§
impl !Sync for BoneAnimationSet
impl Freeze for BoneAnimationSet
impl RefUnwindSafe for BoneAnimationSet
impl Unpin for BoneAnimationSet
impl UnsafeUnpin for BoneAnimationSet
impl UnwindSafe for BoneAnimationSet
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