pub unsafe trait IsRenderNode: StaticType + FromGlibPtrFull<*mut GskRenderNode> + AsRef<RenderNode> + 'static {
    const NODE_TYPE: RenderNodeType;

    // Required methods
    fn upcast(self) -> RenderNode;
    fn upcast_ref(&self) -> &RenderNode;
}
Expand description

A common trait implemented by the various RenderNode types.

Safety

The user is not supposed to implement this trait.

Required Associated Constants§

Required Methods§

Implementors§

source§

impl IsRenderNode for BlendNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::BlendNode

source§

impl IsRenderNode for BlurNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::BlurNode

source§

impl IsRenderNode for BorderNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::BorderNode

source§

impl IsRenderNode for CairoNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::CairoNode

source§

impl IsRenderNode for ClipNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::ClipNode

source§

impl IsRenderNode for ColorMatrixNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::ColorMatrixNode

source§

impl IsRenderNode for ColorNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::ColorNode

source§

impl IsRenderNode for ConicGradientNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::ConicGradientNode

source§

impl IsRenderNode for ContainerNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::ContainerNode

source§

impl IsRenderNode for CrossFadeNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::CrossFadeNode

source§

impl IsRenderNode for DebugNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::DebugNode

source§

impl IsRenderNode for FillNode

Available on crate feature v4_14 only.
source§

const NODE_TYPE: RenderNodeType = RenderNodeType::FillNode

source§

impl IsRenderNode for GLShaderNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::GlShaderNode

source§

impl IsRenderNode for InsetShadowNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::InsetShadowNode

source§

impl IsRenderNode for LinearGradientNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::LinearGradientNode

source§

impl IsRenderNode for MaskNode

Available on crate feature v4_10 only.
source§

const NODE_TYPE: RenderNodeType = RenderNodeType::MaskNode

source§

impl IsRenderNode for OpacityNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::OpacityNode

source§

impl IsRenderNode for OutsetShadowNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::OutsetShadowNode

source§

impl IsRenderNode for RadialGradientNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::RadialGradientNode

source§

impl IsRenderNode for RepeatNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::RepeatNode

source§

impl IsRenderNode for RepeatingLinearGradientNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::RepeatingLinearGradientNode

source§

impl IsRenderNode for RepeatingRadialGradientNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::RepeatingRadialGradientNode

source§

impl IsRenderNode for RoundedClipNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::RoundedClipNode

source§

impl IsRenderNode for ShadowNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::ShadowNode

source§

impl IsRenderNode for StrokeNode

Available on crate feature v4_14 only.
source§

const NODE_TYPE: RenderNodeType = RenderNodeType::StrokeNode

source§

impl IsRenderNode for TextNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::TextNode

source§

impl IsRenderNode for TextureNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::TextureNode

source§

impl IsRenderNode for TextureScaleNode

Available on crate feature v4_10 only.
source§

const NODE_TYPE: RenderNodeType = RenderNodeType::TextureScaleNode

source§

impl IsRenderNode for TransformNode

source§

const NODE_TYPE: RenderNodeType = RenderNodeType::TransformNode