Generate wire and data model API shims
This commit is contained in:
@@ -57,6 +57,33 @@ pub struct StringReader(pub String);
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub struct StreamReader(pub Vec<u8>);
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub struct XmlTextReader(pub String);
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub struct XmlTextWriter(pub String);
|
||||
|
||||
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
|
||||
pub struct CancellationToken;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct FrozenDictionary<TKey, TValue>(pub std::collections::HashMap<TKey, TValue>);
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct IDictionary<TKey, TValue>(pub std::collections::HashMap<TKey, TValue>);
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct SortedList<TKey, TValue>(pub std::collections::BTreeMap<TKey, TValue>);
|
||||
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq)]
|
||||
pub struct Matrix4x4(pub [f32; 16]);
|
||||
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq)]
|
||||
pub struct Quaternion(pub [f32; 4]);
|
||||
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq)]
|
||||
pub struct Vector3(pub [f32; 3]);
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub struct StringWriter(pub String);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user