Warning, /sdk/rust-qt-binding-generator/src/configuration_private.rs is written in an unsupported language. File is not indexed.
0001 use std::collections::BTreeSet;
0002
0003 pub trait ConfigPrivate {
0004 fn types(&self) -> BTreeSet<String>;
0005 fn optional_types(&self) -> BTreeSet<String>;
0006 fn has_list_or_tree(&self) -> bool;
0007 }
0008
0009 pub trait ObjectPrivate {
0010 fn contains_object(&self) -> bool;
0011 fn column_count(&self) -> usize;
0012 }
0013
0014 pub trait TypeName {
0015 fn type_name(&self) -> &str;
0016 }
0017
0018 pub trait TypePrivate {
0019 fn is_object(&self) -> bool;
0020 fn is_complex(&self) -> bool;
0021 fn name(&self) -> &str;
0022 fn cpp_set_type(&self) -> &str;
0023 fn c_set_type(&self) -> &str;
0024 fn rust_type(&self) -> &str;
0025 fn rust_type_init(&self) -> &str;
0026 }
0027
0028 pub trait PropertyPrivate {
0029 fn is_object(&self) -> bool;
0030 fn is_complex(&self) -> bool;
0031 fn c_get_type(&self) -> String;
0032 }
0033
0034 pub trait SimpleTypePrivate {
0035 fn name(&self) -> &str;
0036 fn cpp_set_type(&self) -> &str;
0037 fn c_set_type(&self) -> &str;
0038 fn rust_type(&self) -> &str;
0039 fn rust_type_init(&self) -> &str;
0040 fn is_complex(&self) -> bool;
0041 }
0042
0043 pub trait ItemPropertyPrivate {
0044 fn is_complex(&self) -> bool;
0045 fn cpp_set_type(&self) -> String;
0046 fn c_get_type(&self) -> String;
0047 fn c_set_type(&self) -> &str;
0048 }