Searched refs:try_access_with (Results 1 – 2 of 2) sorted by relevance
276 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> { in try_access_with() method277 self.data().try_access_with(f) in try_access_with()
140 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> { in try_access_with() method