-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Basically I'd love this to work:
#[derive(hecs::Query)]
pub struct DrawSpriteQuery<'a, SpriteLike = Sprite> {
pub transform: &'a Transform,
pub sprite: &'a SpriteLike,
pub shader_routine: &'a crate::gfx::ShaderRoutine,
pub size: Option<&'a Size>,
}
I'll take a look in the macro to see how tough it would be, but I suspect not terribly difficult, but not sure!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed