Skip to main content

IGameSkipMethods

Trait IGameSkipMethods 

Source
pub trait IGameSkipMethods: IGameSkip {
    // Provided methods
    fn ctor(self) { ... }
    fn calc_skip_input(self) -> GameSkip_Result { ... }
    fn tst_status(self, status: impl Into<GameSkip_Status>) -> bool { ... }
    fn set_status(self, status: impl Into<GameSkip_Status>) { ... }
    fn clear_status(self, status: impl Into<GameSkip_Status>) { ... }
    fn on_tick(self) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn calc_skip_input(self) -> GameSkip_Result

CalcSkipInput() overload

Source

fn tst_status(self, status: impl Into<GameSkip_Status>) -> bool

TstStatus(crate::app::gameskip::GameSkip_Status) overload

Source

fn set_status(self, status: impl Into<GameSkip_Status>)

SetStatus(crate::app::gameskip::GameSkip_Status) overload

Source

fn clear_status(self, status: impl Into<GameSkip_Status>)

ClearStatus(crate::app::gameskip::GameSkip_Status) overload

Source

fn on_tick(self)

OnTick() 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: IGameSkip> IGameSkipMethods for __T

Available on crate feature app-gameskip only.