Skip to main content

IMapCollisionMethods

Trait IMapCollisionMethods 

Source
pub trait IMapCollisionMethods: IMapCollision {
    // Provided methods
    fn start(self) { ... }
    fn get_map_object(self) -> MapObject { ... }
    fn get_renderers(self) -> Array<Renderer> { ... }
    fn set_alpha(self, alpha: impl Into<f32>) { ... }
    fn get_alpha(self) -> f32 { ... }
    fn commit_alpha(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn start(self)

Start() overload

Source

fn get_map_object(self) -> MapObject

GetMapObject() overload

Source

fn get_renderers(self) -> Array<Renderer>

GetRenderers() overload

Source

fn set_alpha(self, alpha: impl Into<f32>)

SetAlpha(f32) overload

Source

fn get_alpha(self) -> f32

GetAlpha() overload

Source

fn commit_alpha(self)

CommitAlpha() 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: IMapCollision> IMapCollisionMethods for __T

Available on crate feature app-mapcollision only.