Enum gsk4::RenderNodeType [−][src]
#[non_exhaustive]
pub enum RenderNodeType {
Show 26 variants
NotARenderNode,
ContainerNode,
CairoNode,
ColorNode,
LinearGradientNode,
RepeatingLinearGradientNode,
RadialGradientNode,
RepeatingRadialGradientNode,
ConicGradientNode,
BorderNode,
TextureNode,
InsetShadowNode,
OutsetShadowNode,
TransformNode,
OpacityNode,
ColorMatrixNode,
RepeatNode,
ClipNode,
RoundedClipNode,
ShadowNode,
BlendNode,
CrossFadeNode,
TextNode,
BlurNode,
DebugNode,
GlShaderNode,
// some variants omitted
}
Expand description
The type of a node determines what the node is rendering.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Error type. No node will ever have this type.
A node containing a stack of children
A node drawing a cairo_surface_t
A node drawing a single color rectangle
A node drawing a linear gradient
A node drawing a repeating linear gradient
A node drawing a radial gradient
A node drawing a repeating radial gradient
A node drawing a conic gradient
A node stroking a border around an area
A node drawing a gdk::Texture
A node drawing an inset shadow
A node drawing an outset shadow
A node that renders its child after applying a matrix transform
A node that changes the opacity of its child
A node that applies a color matrix to every pixel
A node that repeats the child’s contents
A node that clips its child to a rectangular area
A node that clips its child to a rounded rectangle
A node that draws a shadow below its child
A node that blends two children together
A node that cross-fades between two children
A node containing a glyph string
A node that applies a blur
Debug information that does not affect the rendering
A node that uses OpenGL fragment shaders to render
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for RenderNodeType
impl Send for RenderNodeType
impl Sync for RenderNodeType
impl Unpin for RenderNodeType
impl UnwindSafe for RenderNodeType
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.