lib/ui/src/root.zig

daab053ee43316e1809a84551d573ddd1e5bf3d2

 1 //! Package root for the envelope namespace and the retained tree namespace.
 2 //!
 3 //! The file re-exports the namespaces `abi` and `tree` and declarations from both.
 4 //! No file under lib/ui/src outside lib/ui/src/profiling imports filigree,
 5 //! windowing, vt, gui, tui, or sys.
 6 //! The test at lib/ui/src/imports.zig enforces it.
 7 
 8 pub const abi = @import("abi/root.zig");
 9 pub const asset = @import("asset/root.zig");
10 pub const tree = @import("tree/root.zig");
11 pub const style = @import("style/root.zig");
12 pub const fact = @import("fact/root.zig");
13 pub const text = @import("text/root.zig");
14 pub const layout = @import("layout/root.zig");
15 
16 pub const Atom = abi.Atom;
17 pub const Declaration = abi.Declaration;
18 pub const Header = abi.Header;
19 pub const Kind = abi.Kind;
20 pub const Node = abi.Node;
21 pub const PropertyId = abi.PropertyId;
22 pub const Rect = abi.Rect;
23 pub const Relation = abi.Relation;
24 pub const Role = abi.Role;
25 pub const SolvedRoot = abi.SolvedRoot;
26 pub const Span = abi.Span;
27 pub const TextRecord = abi.TextRecord;
28 pub const TextRun = abi.TextRun;
29 
30 pub const Limits = tree.Limits;
31 pub const Capacity = tree.Capacity;
32 pub const View = tree.View;
33 pub const Store = tree.Store;
34 pub const AssetRegistry = asset.Registry;