Type Alias bwapi_wrapper::BWAPI_PtrUnitFilter
source · pub type BWAPI_PtrUnitFilter = BWAPI_UnaryFilter<Option<unsafe extern "C" fn(arg1: BWAPI_Unit) -> bool>>;
Aliased Type§
struct BWAPI_PtrUnitFilter {
pub pred: Option<unsafe extern "C" fn(_: *mut BWAPI_UnitInterface) -> bool>,
pub _phantom_0: PhantomData<UnsafeCell<Option<unsafe extern "C" fn(_: *mut BWAPI_UnitInterface) -> bool>>>,
}
Fields§
§pred: Option<unsafe extern "C" fn(_: *mut BWAPI_UnitInterface) -> bool>
§_phantom_0: PhantomData<UnsafeCell<Option<unsafe extern "C" fn(_: *mut BWAPI_UnitInterface) -> bool>>>