Trait gsk4::prelude::IsRenderNode
source · 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§
const NODE_TYPE: RenderNodeType
Required Methods§
fn upcast(self) -> RenderNode
fn upcast_ref(&self) -> &RenderNode
Object Safety§
This trait is not object safe.
Implementors§
source§impl IsRenderNode for BlendNode
impl IsRenderNode for BlendNode
const NODE_TYPE: RenderNodeType = RenderNodeType::BlendNode
source§impl IsRenderNode for BlurNode
impl IsRenderNode for BlurNode
const NODE_TYPE: RenderNodeType = RenderNodeType::BlurNode
source§impl IsRenderNode for BorderNode
impl IsRenderNode for BorderNode
const NODE_TYPE: RenderNodeType = RenderNodeType::BorderNode
source§impl IsRenderNode for CairoNode
impl IsRenderNode for CairoNode
const NODE_TYPE: RenderNodeType = RenderNodeType::CairoNode
source§impl IsRenderNode for ClipNode
impl IsRenderNode for ClipNode
const NODE_TYPE: RenderNodeType = RenderNodeType::ClipNode
source§impl IsRenderNode for ColorMatrixNode
impl IsRenderNode for ColorMatrixNode
const NODE_TYPE: RenderNodeType = RenderNodeType::ColorMatrixNode
source§impl IsRenderNode for ColorNode
impl IsRenderNode for ColorNode
const NODE_TYPE: RenderNodeType = RenderNodeType::ColorNode
source§impl IsRenderNode for ConicGradientNode
impl IsRenderNode for ConicGradientNode
const NODE_TYPE: RenderNodeType = RenderNodeType::ConicGradientNode
source§impl IsRenderNode for ContainerNode
impl IsRenderNode for ContainerNode
const NODE_TYPE: RenderNodeType = RenderNodeType::ContainerNode
source§impl IsRenderNode for CrossFadeNode
impl IsRenderNode for CrossFadeNode
const NODE_TYPE: RenderNodeType = RenderNodeType::CrossFadeNode
source§impl IsRenderNode for DebugNode
impl IsRenderNode for DebugNode
const NODE_TYPE: RenderNodeType = RenderNodeType::DebugNode
source§impl IsRenderNode for FillNode
Available on crate feature v4_14
only.
impl IsRenderNode for FillNode
Available on crate feature
v4_14
only.const NODE_TYPE: RenderNodeType = RenderNodeType::FillNode
source§impl IsRenderNode for GLShaderNode
impl IsRenderNode for GLShaderNode
const NODE_TYPE: RenderNodeType = RenderNodeType::GlShaderNode
source§impl IsRenderNode for InsetShadowNode
impl IsRenderNode for InsetShadowNode
const NODE_TYPE: RenderNodeType = RenderNodeType::InsetShadowNode
source§impl IsRenderNode for LinearGradientNode
impl IsRenderNode for LinearGradientNode
const NODE_TYPE: RenderNodeType = RenderNodeType::LinearGradientNode
source§impl IsRenderNode for MaskNode
Available on crate feature v4_10
only.
impl IsRenderNode for MaskNode
Available on crate feature
v4_10
only.const NODE_TYPE: RenderNodeType = RenderNodeType::MaskNode
source§impl IsRenderNode for OpacityNode
impl IsRenderNode for OpacityNode
const NODE_TYPE: RenderNodeType = RenderNodeType::OpacityNode
source§impl IsRenderNode for OutsetShadowNode
impl IsRenderNode for OutsetShadowNode
const NODE_TYPE: RenderNodeType = RenderNodeType::OutsetShadowNode
source§impl IsRenderNode for RadialGradientNode
impl IsRenderNode for RadialGradientNode
const NODE_TYPE: RenderNodeType = RenderNodeType::RadialGradientNode
source§impl IsRenderNode for RepeatNode
impl IsRenderNode for RepeatNode
const NODE_TYPE: RenderNodeType = RenderNodeType::RepeatNode
source§impl IsRenderNode for RepeatingLinearGradientNode
impl IsRenderNode for RepeatingLinearGradientNode
const NODE_TYPE: RenderNodeType = RenderNodeType::RepeatingLinearGradientNode
source§impl IsRenderNode for RepeatingRadialGradientNode
impl IsRenderNode for RepeatingRadialGradientNode
const NODE_TYPE: RenderNodeType = RenderNodeType::RepeatingRadialGradientNode
source§impl IsRenderNode for RoundedClipNode
impl IsRenderNode for RoundedClipNode
const NODE_TYPE: RenderNodeType = RenderNodeType::RoundedClipNode
source§impl IsRenderNode for ShadowNode
impl IsRenderNode for ShadowNode
const NODE_TYPE: RenderNodeType = RenderNodeType::ShadowNode
source§impl IsRenderNode for StrokeNode
Available on crate feature v4_14
only.
impl IsRenderNode for StrokeNode
Available on crate feature
v4_14
only.const NODE_TYPE: RenderNodeType = RenderNodeType::StrokeNode
source§impl IsRenderNode for TextNode
impl IsRenderNode for TextNode
const NODE_TYPE: RenderNodeType = RenderNodeType::TextNode
source§impl IsRenderNode for TextureNode
impl IsRenderNode for TextureNode
const NODE_TYPE: RenderNodeType = RenderNodeType::TextureNode
source§impl IsRenderNode for TextureScaleNode
Available on crate feature v4_10
only.
impl IsRenderNode for TextureScaleNode
Available on crate feature
v4_10
only.