pub struct AsepriteTags<'a> { /* private fields */ }
Expand description
All the tags defined in the corresponding aseprite
Implementations§
Source§impl<'a> AsepriteTags<'a>
impl<'a> AsepriteTags<'a>
Sourcepub fn get_by_name<N: AsRef<str>>(&self, name: N) -> Option<&AsepriteTag>
pub fn get_by_name<N: AsRef<str>>(&self, name: N) -> Option<&AsepriteTag>
Get a tag defined by its name
Sourcepub fn all(&self) -> impl Iterator<Item = &AsepriteTag>
pub fn all(&self) -> impl Iterator<Item = &AsepriteTag>
Get all available tags
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AsepriteTags<'a>
impl<'a> RefUnwindSafe for AsepriteTags<'a>
impl<'a> Send for AsepriteTags<'a>
impl<'a> Sync for AsepriteTags<'a>
impl<'a> Unpin for AsepriteTags<'a>
impl<'a> UnwindSafe for AsepriteTags<'a>
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