Struct SpriteSourceEvent
pub struct SpriteSourceEvent<'a> {
pub source: &'a str,
pub atlas: &'a Identifier,
pub config: &'a Tag,
pub listed: &'a [Identifier],
pub output: &'a mut Vec<SpriteSourceOutput>,
}Expand description
What Hooks::sprite_source is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§source: &'a str§atlas: &'a Identifier§config: &'a Tag§listed: &'a [Identifier]§output: &'a mut Vec<SpriteSourceOutput>Auto Trait Implementations§
impl<'a> !UnwindSafe for SpriteSourceEvent<'a>
impl<'a> Freeze for SpriteSourceEvent<'a>
impl<'a> RefUnwindSafe for SpriteSourceEvent<'a>
impl<'a> Send for SpriteSourceEvent<'a>
impl<'a> Sync for SpriteSourceEvent<'a>
impl<'a> Unpin for SpriteSourceEvent<'a>
impl<'a> UnsafeUnpin for SpriteSourceEvent<'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