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§
Sourcefn ctor(
self,
x: impl Into<i32>,
z: impl Into<i32>,
inspector: impl Into<CannonInspector>,
)
fn ctor( self, x: impl Into<i32>, z: impl Into<i32>, inspector: impl Into<CannonInspector>, )
.ctor(i32, i32, crate::app::cannoninspector::CannonInspector) overload
Sourcefn get_inspector(self) -> CannonInspector
fn get_inspector(self) -> CannonInspector
get_Inspector() overload
Sourcefn get_occupant(self) -> i32
fn get_occupant(self) -> i32
get_Occupant() overload
Sourcefn set_occupant(self, value: impl Into<i32>)
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§
impl<__T: IAICannon_CannonData> IAICannon_CannonDataMethods for __T
Available on crate feature
app-aicannon only.