Home
last modified time | relevance | path

Searched defs:OkFn (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/native/utils/base/
Dstatusor_test.cc184 struct OkFn { struct
185 StatusOr<int> operator()() { return 42; } in operator ()()
/external/rust/crates/futures-util/src/
Dfns.rs74 pub struct OkFn<E>(PhantomData<fn(E)>); struct
76 impl<E> Default for OkFn<E> { implementation
82 impl<A, E> FnOnce1<A> for OkFn<E> { implementation