pub struct Tag { /* private fields */ }
Expand description
A tag is a grouping of one or more frames.
Tag ranges may overlap each other. Tag names are not guaranteed to be unique.
Implementations§
source§impl Tag
impl Tag
sourcepub fn from_frame(&self) -> u32
pub fn from_frame(&self) -> u32
First frame included in the tag.
sourcepub fn animation_direction(&self) -> AnimationDirection
pub fn animation_direction(&self) -> AnimationDirection
See AnimationDirection for details.
sourcepub fn repeat(&self) -> Option<NonZeroU32>
pub fn repeat(&self) -> Option<NonZeroU32>
Repeat count included in the tag.
None
if unspecified/not enabled (UI shows infinity symbol).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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