Trait xxlib::types::ISerdeTypeId[][src]

pub trait ISerdeTypeId {
    fn type_id() -> u16
    where
        Self: Sized
;
fn get_type_id(&self) -> u16; }

用于给类型返回TypeId

Required methods

fn type_id() -> u16 where
    Self: Sized
[src]

返回当前TypeId

fn get_type_id(&self) -> u16[src]

获取type id

Loading content...

Implementors

Loading content...