Replace the Color type with Table<Color> everywhere (#3048)
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run

This commit is contained in:
Keavon Chambers 2025-08-12 00:38:23 -07:00 committed by GitHub
parent 437fc70500
commit 1b351aca76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
46 changed files with 306 additions and 386 deletions

View file

@ -1271,15 +1271,16 @@ mod tests {
let tuples = quote_spanned!(problem_span=> () ());
let input = quote! {
fn test_node(
#[implementations((), #tuples, Footprint)] footprint: F,
#[implementations((), #tuples, Footprint)]
footprint: F,
#[implementations(
() -> Color,
() -> Table<Raster<CPU>>,
() -> GradientStops,
Footprint -> Color,
Footprint -> Table<Raster<CPU>>,
Footprint -> GradientStops,
)]
() -> Table<Raster<CPU>>,
() -> Table<Color>,
() -> GradientStops,
Footprint -> Table<Raster<CPU>>,
Footprint -> Table<Color>,
Footprint -> GradientStops,
)]
image: impl Node<F, Output = T>,
) -> T {
// Implementation details...