Skip to main content

iced_cube/data/
mod.rs

1//! Data display: trees, tables, long lists, logs, JSON documents and property
2//! grids.
3
4#[cfg(feature = "data-table")]
5pub mod data_table;
6#[cfg(any(
7    feature = "data-table",
8    feature = "document-tabs",
9    feature = "json-viewer",
10    feature = "log-viewer",
11    feature = "property-grid",
12    feature = "select",
13    feature = "tree"
14))]
15pub(crate) mod ellipsis;
16#[cfg(any(
17    feature = "data-table",
18    feature = "json-viewer",
19    feature = "property-grid",
20    feature = "tree",
21    feature = "virtual-list"
22))]
23mod interaction;
24#[cfg(feature = "json-viewer")]
25pub mod json_viewer;
26#[cfg(feature = "log-viewer")]
27pub mod log_viewer;
28#[cfg(feature = "log-viewer")]
29mod marked;
30#[cfg(feature = "property-grid")]
31pub mod property_grid;
32#[cfg(any(
33    feature = "data-table",
34    feature = "json-viewer",
35    feature = "property-grid",
36    feature = "tree",
37    feature = "virtual-list"
38))]
39mod rows;
40#[cfg(feature = "tree")]
41pub mod tree;
42#[cfg(feature = "virtual-list")]
43pub mod virtual_list;
44
45#[cfg(feature = "data-table")]
46pub use data_table::{DataTable, data_table};
47#[cfg(feature = "json-viewer")]
48pub use json_viewer::{JsonViewer, json_viewer};
49#[cfg(feature = "log-viewer")]
50pub use log_viewer::{LogViewer, log_viewer};
51#[cfg(feature = "property-grid")]
52pub use property_grid::{PropertyGrid, property_grid};
53#[cfg(feature = "tree")]
54pub use tree::{Tree, tree};
55#[cfg(feature = "virtual-list")]
56pub use virtual_list::{VirtualList, virtual_list};