Skip to main content

ICollision2D

Trait ICollision2D 

Source
pub trait ICollision2D: IObject {
Show 18 methods // Provided methods fn m_collider(self) -> i32 { ... } fn set_m_collider(self, value: i32) { ... } fn m_other_collider(self) -> i32 { ... } fn set_m_other_collider(self, value: i32) { ... } fn m_rigidbody(self) -> i32 { ... } fn set_m_rigidbody(self, value: i32) { ... } fn m_other_rigidbody(self) -> i32 { ... } fn set_m_other_rigidbody(self, value: i32) { ... } fn m_relative_velocity(self) -> Vector2 { ... } fn set_m_relative_velocity(self, value: Vector2) { ... } fn m_enabled(self) -> i32 { ... } fn set_m_enabled(self, value: i32) { ... } fn m_contact_count(self) -> i32 { ... } fn set_m_contact_count(self, value: i32) { ... } fn m_reused_contacts(self) -> Array<ContactPoint2D> { ... } fn set_m_reused_contacts(self, value: Array<ContactPoint2D>) { ... } fn m_legacy_contacts(self) -> Array<ContactPoint2D> { ... } fn set_m_legacy_contacts(self, value: Array<ContactPoint2D>) { ... }
}

Provided Methods§

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§