gsk4/
inset_shadow_node.rs

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