Home
last modified time | relevance | path

Searched refs:try_access_with (Results 1 – 2 of 2) sorted by relevance

/linux/rust/kernel/
H A Ddevres.rs354 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> { in try_access_with() method
355 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() function
468 self.0.data().try_access_with(f) in try_access_with()
H A Drevocable.rs149 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