1pub mod manager;
2pub mod types;
3
4pub use data_rw::Data;
5pub use data_rw::DataReader;
6
7pub use manager::{ObjectManager,IReadInner,IWriteInner,filter_ids};
8pub use types::{ISerdeTypeId, ISerde, IStruct,ISerdeCaseToType};
9
10#[cfg(not(feature ="Arc"))]
11pub use sharedptr::Rc::SharedPtr;
12#[cfg(not(feature ="Arc"))]
13pub use std::rc::Weak;
14#[cfg(feature ="Arc")]
15pub use sharedptr::Arc::SharedPtr;
16#[cfg(feature ="Arc")]
17pub use std::sync::Weak;
18
19pub trait StringAssign{
20 fn assign(&mut self,str:&str);
21}
22
23impl StringAssign for String{
24 #[inline(always)]
25 fn assign(&mut self, str: &str) {
26 self.clear();
27 self.push_str(str);
28 }
29}