Trait StructureProperties

Source
pub trait StructureProperties {
    // Required methods
    fn structure_type(&self) -> StructureType;
    fn destroy(&self) -> Result<(), DestroyErrorCode>;
    fn is_active(&self) -> bool;
    fn notify_when_attacked(
        &self,
        val: bool,
    ) -> Result<(), StructureNotifyWhenAttackedErrorCode>;
}

Required Methods§

Implementors§