Function imgui_inspect::get_same_or_none [−][src]
pub fn get_same_or_none<T: PartialEq + Clone>(data: &[&T]) -> Option<T>
Utility function that, given a list of references, returns Some(T) if they are the same, otherwise None