Skip to main content

IAICannon_CannonDataMethods

Trait IAICannon_CannonDataMethods 

Source
pub trait IAICannon_CannonDataMethods: IAICannon_CannonData {
    // Provided methods
    fn ctor(
        self,
        x: impl Into<i32>,
        z: impl Into<i32>,
        inspector: impl Into<CannonInspector>,
    ) { ... }
    fn get_x(self) -> i32 { ... }
    fn get_z(self) -> i32 { ... }
    fn get_inspector(self) -> CannonInspector { ... }
    fn get_occupant(self) -> i32 { ... }
    fn set_occupant(self, value: impl Into<i32>) { ... }
}

Provided Methods§

Source

fn ctor( self, x: impl Into<i32>, z: impl Into<i32>, inspector: impl Into<CannonInspector>, )

.ctor(i32, i32, crate::app::cannoninspector::CannonInspector) overload

Source

fn get_x(self) -> i32

get_X() overload

Source

fn get_z(self) -> i32

get_Z() overload

Source

fn get_inspector(self) -> CannonInspector

get_Inspector() overload

Source

fn get_occupant(self) -> i32

get_Occupant() overload

Source

fn set_occupant(self, value: impl Into<i32>)

set_Occupant(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: IAICannon_CannonData> IAICannon_CannonDataMethods for __T

Available on crate feature app-aicannon only.