Skip to main content

IUnitAI_RandomFlagFieldMethods

Trait IUnitAI_RandomFlagFieldMethods 

Source
pub trait IUnitAI_RandomFlagFieldMethods: IUnitAI_RandomFlagField {
    // Provided methods
    fn set(self, f: impl Into<UnitAI_RandomFlag>) { ... }
    fn test(self, f: impl Into<UnitAI_RandomFlag>) -> bool { ... }
    fn not(self, f: impl Into<UnitAI_RandomFlag>) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn set(self, f: impl Into<UnitAI_RandomFlag>)

Set(crate::app::unitai::UnitAI_RandomFlag) overload

Source

fn test(self, f: impl Into<UnitAI_RandomFlag>) -> bool

Test(crate::app::unitai::UnitAI_RandomFlag) overload

Source

fn not(self, f: impl Into<UnitAI_RandomFlag>) -> bool

Not(crate::app::unitai::UnitAI_RandomFlag) overload

Source

fn ctor(self)

.ctor() 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: IUnitAI_RandomFlagField> IUnitAI_RandomFlagFieldMethods for __T

Available on crate feature app-unitai only.