Trait gsk4::prelude::IsRenderNode
source · [−]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
source
const NODE_TYPE: RenderNodeType
Required Methods
source
fn upcast(self) -> RenderNode
source