mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-28 00:44:10 +00:00
Replace the Color type with Table<Color> everywhere (#3048)
This commit is contained in:
parent
437fc70500
commit
1b351aca76
46 changed files with 306 additions and 386 deletions
|
@ -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...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue