mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Replace the Color type with Table<Color> everywhere (#3048)
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user