API reference

aster_blueprint::builtins

Pre-1.0: signatures are not frozen. Generated from rustdoc JSON of the compiled crate; rustdoc JSON format version 60. Only public items are listed.

Shared definition contracts for the first executable blueprint kernels.

These describe typed functions, not callbacks. A runtime must admit their exact signatures before execution. Paint, widget, clock scheduling and backend authority are not synthesized by this catalog.

Functions

fnaster_blueprint::builtins::core_catalog

pub fn core_catalog() -> Result<compiler::Catalog, compiler::CompileError>

Build a fresh catalog atomically: failure never modifies a caller's catalog.

fnaster_blueprint::builtins::effect_definition

pub fn effect_definition(kind: effects::EffectKind) -> compiler::Definition

Definition of one effect kernel (core.drawing.* / core.effect.*).

Visual/Pure, one value: Drawing output, ports taken from [crate::effects::EffectKind::inputs] (the runtime checks the same table).

fnaster_blueprint::builtins::fluid_definition

pub fn fluid_definition(kind: fluid_nodes::FluidKind) -> compiler::Definition

Definition of one fluid node (core.fluid.*.v1); ports from [crate::fluid_nodes::FluidKind::inputs].

fnaster_blueprint::builtins::fx_definition

pub fn fx_definition(kind: fx_nodes::FxKind) -> compiler::Definition

Definition of one immersive kernel ([crate::fx_nodes::FxKind]): Visual/Pure, one value: Drawing output, ports from [crate::fx_nodes::FxKind::inputs].

fnaster_blueprint::builtins::label_bounds_definition

pub fn label_bounds_definition() -> compiler::Definition

Definition for core.label.bounds.v1.

Visual/Pure. It copies an already-measured label's advance/height into a LogicalRect(x, y, advance, height) and declares exactly the label, x, y inputs and one value: LogicalRect output. It shapes no text and owns no rasterization, font or layout authority. It is registered by [core_catalog].

fnaster_blueprint::builtins::linear_paint_definition

pub fn linear_paint_definition() -> compiler::Definition

Definition for core.paint.linear.v1.

Visual/Pure. It builds exactly one existing aster_ui::Paint::Linear from two validated sRGB8 stops and one axis flag, and declares exactly the start, end and horizontal inputs and one value: Paint output. It adds no gradient stops, angles, textures, effects or rasterizer: the axis flag selects only the existing horizontal/vertical Axis. It is registered by [core_catalog].

fnaster_blueprint::builtins::select_definition

pub fn select_definition(kind: model::ValueType) -> Option<compiler::Definition>

Select an already admitted value without erasing prepared-value metadata. Layer/Scene have no supported runtime representation; Event/Intent are not data selection families. Those kinds return None, never a fabricated node.

Constants

constaster_blueprint::builtins::ADD

pub const ADD: &str

constaster_blueprint::builtins::CIRCLE

pub const CIRCLE: &str

constaster_blueprint::builtins::CLAMP

pub const CLAMP: &str

constaster_blueprint::builtins::CLOCK

pub const CLOCK: &str

constaster_blueprint::builtins::CONIC_GRADIENT

pub const CONIC_GRADIENT: &str

Immersive kernels (see [crate::fx_nodes]): pure Drawing producers; time is an explicit Seconds input.

constaster_blueprint::builtins::DISTORT

pub const DISTORT: &str

Screen-space distortion of a source Drawing (shockwave, haze, chroma, glitch) and a hologram / CRT look.

constaster_blueprint::builtins::DRAWING_IDENTITY

pub const DRAWING_IDENTITY: &str

constaster_blueprint::builtins::DROP_SHADOW

pub const DROP_SHADOW: &str

constaster_blueprint::builtins::ELLIPSE

pub const ELLIPSE: &str

constaster_blueprint::builtins::FLOW_GRADIENT

pub const FLOW_GRADIENT: &str

constaster_blueprint::builtins::GLASS

pub const GLASS: &str

constaster_blueprint::builtins::GLOW

pub const GLOW: &str

constaster_blueprint::builtins::HOLOGRAM

pub const HOLOGRAM: &str

constaster_blueprint::builtins::IDENTITY

pub const IDENTITY: &str

constaster_blueprint::builtins::INNER_SHADOW

pub const INNER_SHADOW: &str

constaster_blueprint::builtins::KINETIC_TEXT

pub const KINETIC_TEXT: &str

A source Drawing revealed glyph by glyph (decode / typewriter / stagger) at an explicit time.

constaster_blueprint::builtins::LABEL_BOUNDS

pub const LABEL_BOUNDS: &str

constaster_blueprint::builtins::LABEL_HEIGHT

pub const LABEL_HEIGHT: &str

constaster_blueprint::builtins::LABEL_IDENTITY

pub const LABEL_IDENTITY: &str

constaster_blueprint::builtins::LABEL_WIDTH

pub const LABEL_WIDTH: &str

Measured advance / line height of a prepared Label as a LogicalLength.

constaster_blueprint::builtins::LENGTH_ADD

pub const LENGTH_ADD: &str

constaster_blueprint::builtins::LENGTH_MAX

pub const LENGTH_MAX: &str

max(a, b) over two LogicalLengths (content-driven sizing in graphs).

constaster_blueprint::builtins::LENGTH_SCALE

pub const LENGTH_SCALE: &str

constaster_blueprint::builtins::LENS_FLARE

pub const LENS_FLARE: &str

constaster_blueprint::builtins::LIGHT_SHAFTS

pub const LIGHT_SHAFTS: &str

Cinematic light: shafts from an occluder silhouette, and a lens flare.

constaster_blueprint::builtins::LINEAR_PAINT

pub const LINEAR_PAINT: &str

constaster_blueprint::builtins::MESH_GRADIENT

pub const MESH_GRADIENT: &str

constaster_blueprint::builtins::MIX_COLOR

pub const MIX_COLOR: &str

constaster_blueprint::builtins::MULTIPLY

pub const MULTIPLY: &str

constaster_blueprint::builtins::PAINT_IDENTITY

pub const PAINT_IDENTITY: &str

constaster_blueprint::builtins::PARTICLES

pub const PARTICLES: &str

constaster_blueprint::builtins::RADIAL_GRADIENT

pub const RADIAL_GRADIENT: &str

constaster_blueprint::builtins::RECT

pub const RECT: &str

constaster_blueprint::builtins::ROUNDED_RECT

pub const ROUNDED_RECT: &str

constaster_blueprint::builtins::SELECT_TYPES

pub const SELECT_TYPES: [(&str, model::ValueType); 12]

Typed, eager selection over the data families the runtime actually carries. Neither branch is optional: both are admitted before selection. These are data nodes, not event dispatch, authorization or lazy control flow.

constaster_blueprint::builtins::SPOTLIGHT

pub const SPOTLIGHT: &str

constaster_blueprint::builtins::STROKE

pub const STROKE: &str

constaster_blueprint::builtins::STROKE_ELLIPSE

pub const STROKE_ELLIPSE: &str

constaster_blueprint::builtins::SURFACE_IDENTITY

pub const SURFACE_IDENTITY: &str

constaster_blueprint::builtins::TILT

pub const TILT: &str

Picture processors: a source Drawing in, a warped / frosted Drawing out.

constaster_blueprint::builtins::TRANSITION

pub const TRANSITION: &str

Two pictures and a progress in, the cinematic transition between them out (ui::Cut).

constaster_blueprint::builtins::VIGNETTE

pub const VIGNETTE: &str