Skip to main content

IMapSortiePositionMethods

Trait IMapSortiePositionMethods 

Source
pub trait IMapSortiePositionMethods: IMapSortiePosition {
    // Provided methods
    fn ctor(self) { ... }
    fn prepare(self) { ... }
    fn cleanup(self) { ... }
    fn add(
        self,
        x: impl Into<i32>,
        z: impl Into<i32>,
        angle: impl Into<f32>,
    ) -> bool { ... }
    fn reset(self) { ... }
    fn get(self, index: impl Into<i32>) -> MapSortiePosition_Data { ... }
    fn get_index(self, x: impl Into<i32>, z: impl Into<i32>) -> i32 { ... }
    fn get_count(self) -> i32 { ... }
    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>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn prepare(self)

Prepare() overload

Source

fn cleanup(self)

Cleanup() overload

Source

fn add( self, x: impl Into<i32>, z: impl Into<i32>, angle: impl Into<f32>, ) -> bool

Add(i32, i32, f32) overload

Source

fn reset(self)

Reset() overload

Source

fn get(self, index: impl Into<i32>) -> MapSortiePosition_Data

Get(i32) overload

Source

fn get_index(self, x: impl Into<i32>, z: impl Into<i32>) -> i32

GetIndex(i32, i32) overload

Source

fn get_count(self) -> i32

get_Count() 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

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: IMapSortiePosition> IMapSortiePositionMethods for __T

Available on crate feature app-mapsortieposition only.