gsk4/
repeat_node.rs

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