Skip to main content

IEncountUnitDataMethods

Trait IEncountUnitDataMethods 

Source
pub trait IEncountUnitDataMethods: IEncountUnitData {
    // Provided methods
    fn ctor(self, data: impl Into<DisposData>) { ... }
    fn set_rare_type(self, type: impl Into<EncountUnitData_RareType>) { ... }
    fn get_dispos(self) -> DisposData { ... }
    fn get_rare(self) -> EncountUnitData_RareType { ... }
    fn get_job(self) -> JobData { ... }
    fn is_gunner(self) -> bool { ... }
    fn is_wolf(self) -> bool { ... }
    fn is_dragon(self) -> bool { ... }
}

Provided Methods§

Source

fn ctor(self, data: impl Into<DisposData>)

.ctor(crate::app::disposdata::DisposData) overload

Source

fn set_rare_type(self, type: impl Into<EncountUnitData_RareType>)

SetRareType(crate::app::encountunitdata::EncountUnitData_RareType) overload

Source

fn get_dispos(self) -> DisposData

get_Dispos() overload

Source

fn get_rare(self) -> EncountUnitData_RareType

get_Rare() overload

Source

fn get_job(self) -> JobData

get_Job() overload

Source

fn is_gunner(self) -> bool

IsGunner() overload

Source

fn is_wolf(self) -> bool

IsWolf() overload

Source

fn is_dragon(self) -> bool

IsDragon() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IEncountUnitData> IEncountUnitDataMethods for __T

Available on crate feature app-encountunitdata only.