Type Definition rofi_plugin_sys::ModeTokenMatch
source · pub type ModeTokenMatch = Option<unsafe extern "C" fn(sw: *const Mode, tokens: *mut *mut RofiIntMatcher, index: c_uint) -> c_int>;Expand description
Token match for the matching algorithm.
Returns 1 when it matches, 0 if not.
tokens: List of (input) tokens to match.input: The entry to match against.case_sensitive: Whether case is significant.index: The current selected index.data: User data.