pub trait IUnitAI_FlagFieldMethods: IUnitAI_FlagField {
// Provided methods
fn set(self, f: impl Into<UnitAI_Flag>) { ... }
fn test(self, f: impl Into<UnitAI_Flag>) -> bool { ... }
fn not(self, f: impl Into<UnitAI_Flag>) -> bool { ... }
fn clear(self, f: impl Into<UnitAI_Flag>) { ... }
fn mask(self, f: impl Into<UnitAI_Flag>) -> i32 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn set(self, f: impl Into<UnitAI_Flag>)
fn set(self, f: impl Into<UnitAI_Flag>)
Set(crate::app::unitai::UnitAI_Flag) overload
Sourcefn test(self, f: impl Into<UnitAI_Flag>) -> bool
fn test(self, f: impl Into<UnitAI_Flag>) -> bool
Test(crate::app::unitai::UnitAI_Flag) overload
Sourcefn not(self, f: impl Into<UnitAI_Flag>) -> bool
fn not(self, f: impl Into<UnitAI_Flag>) -> bool
Not(crate::app::unitai::UnitAI_Flag) overload
Sourcefn clear(self, f: impl Into<UnitAI_Flag>)
fn clear(self, f: impl Into<UnitAI_Flag>)
Clear(crate::app::unitai::UnitAI_Flag) overload
Sourcefn mask(self, f: impl Into<UnitAI_Flag>) -> i32
fn mask(self, f: impl Into<UnitAI_Flag>) -> i32
Mask(crate::app::unitai::UnitAI_Flag) 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§
impl<__T: IUnitAI_FlagField> IUnitAI_FlagFieldMethods for __T
Available on crate feature
app-unitai only.