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