HavokClass

Trait HavokClass 

Source
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§

Source

fn name(&self) -> &'static str

Get Class name.

Source

fn signature(&self) -> Signature

Get signature.

Source

fn deps_indexes(&self) -> Vec<usize>

Get dependencies class of indexes to do topological sort.

Implementors§