Type Alias ULFileSystemGetFileMimeTypeCallback

Source
pub type ULFileSystemGetFileMimeTypeCallback = Option<unsafe extern "C" fn(path: ULString, result: ULString) -> bool>;
Expand description

The callback invoked when the FileSystem wants to get the mime type of a file (eg “text/html”), store result in ‘result’. Return true on success.

Aliased Type§

enum ULFileSystemGetFileMimeTypeCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut C_String, _: *mut C_String) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut C_String, _: *mut C_String) -> bool)

Some value of type T.