TCOD_path_func_t

Type Alias TCOD_path_func_t 

Source
pub type TCOD_path_func_t = Option<unsafe extern "C" fn(xFrom: c_int, yFrom: c_int, xTo: c_int, yTo: c_int, user_data: *mut c_void) -> f32>;

Aliased Type§

pub enum TCOD_path_func_t {
    None,
    Some(unsafe extern "C" fn(i32, i32, i32, i32, *mut c_void) -> f32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(i32, i32, i32, i32, *mut c_void) -> f32)

Some value of type T.