Expand description
Deterministic declarative document, canvas, and dataset compiler.
Re-exports§
pub use asset::Asset;pub use asset::AssetResolver;pub use asset::FileResolver;pub use asset::MemoryResolver;pub use asset::TemplateResolver;pub use cache::SceneCache;pub use collision::CollisionBounds;pub use collision::CollisionPolicy;pub use collision::CollisionResolution;pub use collision::CollisionRule;pub use collision::LinearSpatialIndex;pub use collision::SpatialIndex;pub use compiler::Compiler;pub use compiler::CompilerBuilder;pub use constraints::Alignment;pub use constraints::Distribution;pub use constraints::LayoutConstraints;pub use control::CancellationToken;pub use control::OperationControl;pub use control::ProgressEvent;pub use control::ProgressObserver;pub use control::ProgressPhase;pub use data::resolve_computed_fields;pub use data::CurrencyValue;pub use data::DataField;pub use data::DataSchema;pub use data::DataType;pub use data::DataValue;pub use debug::CollisionMask;pub use debug::DebugOverlay;pub use debug::DebugOverlayOptions;pub use debug::DebugPrimitive;pub use debug::MaskView;pub use debug_export::export_collision_mask;pub use debug_export::MaskFormat;pub use error::ErrorCode;pub use error::FileMakerError;pub use error::Result;pub use export::export;pub use export::export_bytes;pub use export::export_controlled;pub use export::export_dataset_csv;pub use export::export_dataset_csv_bytes;pub use export::ExportCapabilities;pub use export::ExportContext;pub use export::ExportFormat;pub use export::ExportLoss;pub use export::ExportLossKind;pub use export::ExportLossReport;pub use export::ExportOutcome;pub use export::ExportRequest;pub use export::ExportStyleOverride;pub use export::Fidelity;pub use export::HtmlMode;pub use export::PdfMode;pub use expression::Expression;pub use expression::ExpressionBudget;pub use fingerprint::DocumentFingerprint;pub use fingerprint::FingerprintBuilder;pub use font::FontAsset;pub use font::FontManager;pub use font::FontResolver;pub use font::FontSubset;pub use geometry::BoundsSet;pub use geometry::Insets;pub use geometry::PathCommand;pub use geometry::Point;pub use geometry::Rect;pub use geometry::Shape;pub use geometry::Size;pub use geometry::Transform;pub use image::resolve_image_placement;pub use image::ImageCrop;pub use image::ImageFit;pub use image::ImageOptions;pub use image::ImageOrientation;pub use image::ImagePlacement;pub use image::PixelRect;pub use inspect::ElementInspection;pub use inspect::LayoutExplanation;pub use inspect::PageInspection;pub use inspect::SceneInspector;pub use ir::AiPolicy;pub use ir::DocumentIr;pub use ir::ElementId;pub use ir::ElementIr;pub use ir::ElementKind;pub use ir::ExclusionIr;pub use ir::GeometryIr;pub use ir::LayoutMode;pub use ir::PathCommandIr;pub use ir::Provenance;pub use ir::RegionIr;pub use ir::TableIr;pub use ir::TemplateIr;pub use ir::TextIr;pub use ir::TransformIr;pub use layout::LayoutEngine;pub use layout::LayoutOptions;pub use limits::ResourceLimits;pub use page::PageBand;pub use page::PagePlacement;pub use page::PageRole;pub use page::PageTemplate;pub use page::PageTemplateSet;pub use patch::Patch;pub use patch::PatchOperation;pub use patch::PatchTransaction;pub use preset::Orientation;pub use preset::Preset;pub use preset::PresetRegistry;pub use resolved::LayoutTrace;pub use resolved::ResolvedElement;pub use resolved::ResolvedExclusion;pub use resolved::ResolvedPage;pub use resolved::ResolvedRegion;pub use resolved::ResolvedScene;pub use source::ColorSource;pub use source::EdgeSource;pub use source::ElementSource;pub use source::ElementStyleRuleSource;pub use source::ExclusionSource;pub use source::MirrorSource;pub use source::ModelKind;pub use source::PageLayerSource;pub use source::PageSource;pub use source::TableSource;pub use source::TableStyleRuleSource;pub use source::TemplateSourceV1;pub use source::TextSourceOptions;pub use source::TransformSource;pub use style::Color;pub use style::ComputedStyle;pub use style::ElementStyleRule;pub use style::Style;pub use style::StyleCascade;pub use table::BorrowedDataset;pub use table::ColumnWidth;pub use table::DataRow;pub use table::Dataset;pub use table::InMemoryDataset;pub use table::StreamingDataset;pub use table::TableColumn;pub use table::TablePage;pub use table::TablePageSink;pub use table::TablePaginator;pub use table::TableSpec;pub use table::TableStyleRule;pub use text::Glyph;pub use text::GlyphRun;pub use text::TextDiagnostic;pub use text::TextEngine;pub use text::TextLayout;pub use text::TextLine;pub use text::TextOptions;pub use text::TextOverflow;pub use text::WritingMode;pub use units::Length;pub use units::Unit;pub use validation::preflight;pub use validation::validate_data;pub use validation::validate_layout;pub use validation::validate_template;pub use validation::PreflightOptions;pub use validation::ValidationCode;pub use validation::ValidationIssue;pub use validation::ValidationReport;pub use validation::ValidationSeverity;
Modules§
- asset
- Explicit sandboxed asset and template resolvers. Defines bounded asset contracts and behavior for this crate.
- cache
- Bounded compile-once/render-many caches. Defines bounded cache contracts and behavior for this crate.
- collision
- Geometry-first collision policies and deterministic spatial index. Defines bounded collision contracts and behavior for this crate.
- compiler
- Parse, include expansion, component expansion, and binding pipeline. Defines bounded compiler contracts and behavior for this crate.
- constraints
- Minimum, preferred, maximum, aspect, and alignment contracts. Defines bounded constraints contracts and behavior for this crate.
- control
- Cooperative cancellation and progress contracts.
- data
- Typed deterministic data values and schemas. Defines bounded data contracts and behavior for this crate.
- debug
- Read-only debug overlays and geometry-derived collision masks. Defines bounded debug contracts and behavior for this crate.
- debug_
export - JSON/vector/raster export for geometry-derived debug masks. Defines bounded debug export contracts and behavior for this crate.
- error
- Typed errors and stable FM codes.
- export
- Capability-declared exporters selected only at call time. Exporter implementations consume only fully resolved scenes.
- expression
- Bounded deterministic expression evaluation. Defines bounded expression contracts and behavior for this crate.
- fingerprint
- Deterministic input fingerprints. Defines bounded fingerprint contracts and behavior for this crate.
- font
- Explicit deterministic font registry. Defines bounded font contracts and behavior for this crate.
- geometry
- Fixed-point geometry contracts. Defines bounded geometry contracts and behavior for this crate.
- image
- Image crop, fit, focal point, EXIF, and resolved paint geometry. Defines bounded image contracts and behavior for this crate.
- inspect
- Read-only scene inspection and free-region queries. Defines bounded inspect contracts and behavior for this crate.
- ir
- Format-neutral intermediate representations. Defines bounded ir contracts and behavior for this crate.
- layout
- Measurement, layout, pagination, and bounded reflow engine. Defines bounded layout contracts and behavior for this crate.
- limits
- Resource budgets.
- page
- Page roles, masters, margins, bleed, safe areas, and numbering. Defines bounded page contracts and behavior for this crate.
- patch
- Runtime mutation and transactional patch application. Defines bounded patch contracts and behavior for this crate.
- preset
- Versioned page and canvas presets. Defines bounded preset contracts and behavior for this crate.
- resolved
- Fully resolved exporter-facing scene. Defines bounded resolved contracts and behavior for this crate.
- source
- Strict version-one YAML frontend types. Defines bounded source contracts and behavior for this crate.
- style
- Colors, themes, and style cascade contracts. Defines bounded style contracts and behavior for this crate.
- table
- First-class bounded and streaming datasets/tables. Defines bounded table contracts and behavior for this crate.
- text
- Unicode,
BiDi, shaping, line breaking, and measurement. Defines bounded text contracts and behavior for this crate. - units
- Fixed-point units and source lengths. Defines bounded units contracts and behavior for this crate.
- validation
- Schema, binding, layout, and exporter-aware preflight. Defines bounded validation contracts and behavior for this crate.
Structs§
- Operation
Log - Bounded in-memory operation log providing explicit undo and redo.
- Resolved
Table Cell - One exporter-ready table cell with final geometry and shaped text.
- Resolved
Table Column - One exporter-neutral table column with a fixed resolved width.
- Resolved
Table Fragment - One physical-page fragment of a first-class table.
- Resolved
Table Row - One exporter-ready table row.
Constants§
- ENGINE_
VERSION - Engine version included in deterministic fingerprints.
- FILEMAKER_
SCHEMA_ V1 - Source schema accepted by this engine release.
Functions§
- resolve_
table_ columns - Resolves fixed, bounded-auto, and weighted-flex columns in declaration order.