Skip to main content

iced_cube/data/
mod.rs

1//! Data display: trees, tables, long lists, logs, JSON documents, property
2//! grids and text that can be selected and copied.
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 = "selectable-text")]
41pub mod selectable_text;
42#[cfg(feature = "tree")]
43pub mod tree;
44#[cfg(feature = "virtual-list")]
45pub mod virtual_list;
46
47#[cfg(feature = "data-table")]
48pub use data_table::{DataTable, data_table};
49#[cfg(feature = "json-viewer")]
50pub use json_viewer::{JsonViewer, json_viewer};
51#[cfg(feature = "log-viewer")]
52pub use log_viewer::{LogViewer, log_viewer};
53#[cfg(feature = "property-grid")]
54pub use property_grid::{PropertyGrid, property_grid};
55#[cfg(feature = "selectable-text")]
56pub use selectable_text::{SelectableText, SelectionArea, selectable_text, selection_area};
57#[cfg(feature = "tree")]
58pub use tree::{Tree, tree};
59#[cfg(feature = "virtual-list")]
60pub use virtual_list::{VirtualList, virtual_list};