Searched refs:try_access_with (Results 1 – 2 of 2) sorted by relevance
335 /// [`Devres`] accessor for [`Revocable::try_access_with`]. in register_foreign() 336 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> { in register_foreign() 337 self.data().try_access_with(f) in register_foreign() 276 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> { try_access_with() method
140 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> { in try_access_with() method