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

    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