[][src]Function discid_sys::discid_has_feature

pub unsafe extern "C" fn discid_has_feature(feature: Type) -> c_int

Check if a certain feature is implemented on the current platform.

This only works for single features, not bit masks with multiple features.

\since libdiscid 0.4.0

@param feature as enum ::discid_feature @return 1 if the feature is implemented and 0 if not.