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