pub trait HavokClass {
// Required methods
fn name(&self) -> &'static str;
fn signature(&self) -> Signature;
fn deps_indexes(&self) -> Vec<usize>;
}
Expand description
Trait whether it is Havok Class or not.
§Purpose
This tray exists for the following purposes.
- Writing
__classnames__
sections when creating binary data. - (De)Serialization process for array classes.
Required Methods§
Sourcefn deps_indexes(&self) -> Vec<usize>
fn deps_indexes(&self) -> Vec<usize>
Get dependencies class of indexes to do topological sort.