dexalt_lib/
traits.rs

1pub trait CType {
2    fn to_cstring(&self) -> std::ffi::CString;
3}
4
5pub trait Dexalt {
6    fn to_json_from_vec(&self) -> serde_json::Value;
7    fn to_json_from_str(&self) -> serde_json::Value;
8}