Skip to main content

IMapMind_CommandStackMethods

Trait IMapMind_CommandStackMethods 

Source
pub trait IMapMind_CommandStackMethods: IMapMind_CommandStack {
    // Provided methods
    fn peek(self) -> MapMind_Type { ... }
    fn push(
        self,
        type: impl Into<MapMind_Type>,
        unit: impl Into<Unit>,
        link: impl Into<Unit>,
    ) { ... }
    fn pop(self) -> bool { ... }
    fn decide(self) { ... }
    fn clear(self) { ... }
    fn get_exist(self) -> bool { ... }
    fn try_add_achieve_engage(
        self,
        type: impl Into<MapMind_Type>,
        unit: impl Into<Unit>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn peek(self) -> MapMind_Type

Peek() overload

Source

fn push( self, type: impl Into<MapMind_Type>, unit: impl Into<Unit>, link: impl Into<Unit>, )

Push(crate::app::mapmind::MapMind_Type, crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

fn pop(self) -> bool

Pop() overload

Source

fn decide(self)

Decide() overload

Source

fn clear(self)

Clear() overload

Source

fn get_exist(self) -> bool

get_Exist() overload

Source

fn try_add_achieve_engage( self, type: impl Into<MapMind_Type>, unit: impl Into<Unit>, )

TryAddAchieveEngage(crate::app::mapmind::MapMind_Type, crate::app::unit::Unit) 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: IMapMind_CommandStack> IMapMind_CommandStackMethods for __T

Available on crate feature app-mapmind only.