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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so 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.