Skip to main content

IMapHistory_Replay_TurnSaveMethods

Trait IMapHistory_Replay_TurnSaveMethods 

Source
pub trait IMapHistory_Replay_TurnSaveMethods: IMapHistory_Replay_TurnSave {
    // Provided methods
    fn on_create(self) { ... }
    fn write(self, super_: impl Into<ProcInst>) { ... }
    fn read(self) { ... }
    fn write_to_stream(self) { ... }
    fn read_from_stream(self) { ... }
    fn clear(self) { ... }
    fn get_version(self) -> i32 { ... }
    fn on_serialize(self, stream: impl Into<Stream_2>) { ... }
    fn on_deserialize(
        self,
        stream: impl Into<Stream_2>,
        version: impl Into<i32>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_create(self)

OnCreate() overload

Source

fn write(self, super_: impl Into<ProcInst>)

Write(crate::app::procinst::ProcInst) overload

Source

fn read(self)

Read() overload

Source

fn write_to_stream(self)

WriteToStream() overload

Source

fn read_from_stream(self)

ReadFromStream() overload

Source

fn clear(self)

Clear() overload

Source

fn get_version(self) -> i32

get_Version() overload

Source

fn on_serialize(self, stream: impl Into<Stream_2>)

OnSerialize(crate::app::stream_2::Stream_2) overload

Source

fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)

OnDeserialize(crate::app::stream_2::Stream_2, i32) 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: IMapHistory_Replay_TurnSave> IMapHistory_Replay_TurnSaveMethods for __T

Available on crate feature app-maphistory only.