Searched refs:try_access_with (Results 1 – 2 of 2) sorted by relevance
354 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> { in try_access_with() method355 self.data().try_access_with(f) in try_access_with()464 pub fn try_access_with<R, G>(&self, f: G) -> Option<R> in try_access_with() function468 self.0.data().try_access_with(f) in try_access_with()
149 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> {140 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> { try_access_with() method