1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
pub mod bindings;
mod _macros;
mod edge_table;
pub mod error;
pub mod ffi;
pub mod metadata;
mod mutation_table;
mod node_table;
mod population_table;
mod site_table;
mod table_collection;
mod trees;
pub mod types;
pub use bindings::TSK_NODE_IS_SAMPLE;
pub use bindings::TSK_NO_BUILD_INDEXES;
pub use bindings::TSK_SAMPLE_LISTS;
pub use bindings::tsk_flags_t;
pub use bindings::tsk_id_t;
pub use bindings::tsk_size_t;
pub const TSK_NULL: tsk_id_t = -1;
pub use edge_table::EdgeTable;
pub use error::TskitError;
pub use mutation_table::MutationTable;
pub use node_table::NodeTable;
pub use population_table::PopulationTable;
pub use site_table::SiteTable;
pub use table_collection::TableCollection;
pub use trees::{NodeIterator, NodeTraversalOrder, Tree, TreeFlags, TreeSequence};
pub type TskReturnValue = Result<i32, TskitError>;
pub fn version() -> &'static str {
return env!("CARGO_PKG_VERSION");
}
mod test_tsk_variables;