Skip to main content

is_selected

Function is_selected 

Source
pub fn is_selected<S: PartialEq<K>, K: ?Sized>(
    selected: &Option<S>,
    key: &K,
) -> bool
Expand description

Whether the item with key is the selected one.