b2OverlapResultFcn

Type Alias b2OverlapResultFcn 

Source
pub type b2OverlapResultFcn = Option<unsafe extern "C" fn(shapeId: b2ShapeId, context: *mut c_void) -> bool>;
Expand description

Prototype callback for overlap queries. Called for each shape found in the query. @see b2World_OverlapABB @return false to terminate the query. @ingroup world

Aliased Type§

pub enum b2OverlapResultFcn {
    None,
    Some(unsafe extern "C" fn(b2ShapeId, *mut c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(b2ShapeId, *mut c_void) -> bool)

Some value of type T.