pub trait b2RayCastCallback_methods: b2RayCastCallback_supers {
// Required method
unsafe fn ReportFixture(
&mut self,
fixture: *mut b2Fixture,
point: &b2Vec2,
normal: &b2Vec2,
fraction: f32,
) -> f32;
// Provided methods
unsafe fn ReportParticle(
&mut self,
particleSystem: *const b2ParticleSystem,
index: c_int,
point: &b2Vec2,
normal: &b2Vec2,
fraction: f32,
) -> f32 { ... }
unsafe fn ShouldQueryParticleSystem(
&mut self,
particleSystem: *const b2ParticleSystem,
) -> bool { ... }
}Required Methods§
unsafe fn ReportFixture( &mut self, fixture: *mut b2Fixture, point: &b2Vec2, normal: &b2Vec2, fraction: f32, ) -> f32
Provided Methods§
unsafe fn ReportParticle( &mut self, particleSystem: *const b2ParticleSystem, index: c_int, point: &b2Vec2, normal: &b2Vec2, fraction: f32, ) -> f32
unsafe fn ShouldQueryParticleSystem( &mut self, particleSystem: *const b2ParticleSystem, ) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".