Skip to main content

StrongType

Trait StrongType 

Source
pub trait StrongType: Any {
    // Required method
    fn get_s_type(&self) -> &dyn StructureType;
}
Expand description

Needed to be applied to the serializable/deserializable structures

Required Methods§

Source

fn get_s_type(&self) -> &dyn StructureType

Need to return reference of structure type enum inside structure

Implementors§