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