LayerFactory_Constructor

Type Alias LayerFactory_Constructor 

Source
pub type LayerFactory_Constructor = Option<unsafe extern "C" fn(*mut c_void) -> *mut c_void>;
Expand description

Each Layer class must provide this function to the factory

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.