gsk4/
color_matrix_node.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3use crate::{ColorMatrixNode, RenderNodeType};
4
5define_render_node!(
6    ColorMatrixNode,
7    crate::ffi::GskColorMatrixNode,
8    RenderNodeType::ColorMatrixNode
9);
10
11impl std::fmt::Debug for ColorMatrixNode {
12    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
13        f.debug_struct("ColorMatrixNode")
14            .field("color_offset", &self.color_offset())
15            .field("color_matrix", &self.color_matrix())
16            .field("child", &self.child())
17            .finish()
18    }
19}