Home
last modified time | relevance | path

Searched defs:FnOnce (Results 1 – 25 of 447) sorted by relevance

12345678910>>...18

/dports/lang/rust/rustc-1.58.1-src/src/test/run-pass-valgrind/unsized-locals/
H A Dby-value-trait-objects-rust-call2.rs4 pub trait FnOnce<Args> { interface
11 impl FnOnce<(String, Box<str>)> for A { impl
22 impl FnOnce<(String, Box<str>)> for B { impl
33 impl FnOnce<(String, Box<str>)> for C { impl
44 impl FnOnce<(String, Box<str>)> for D { impl
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/moves/
H A Dmove-nullary-fn.rs5 fn f2<F>(_thing: F) where F: FnOnce() { } in f2()
7 fn f<F>(thing: F) where F: FnOnce() { in f()
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/regions/
H A Dregions-dependent-autofn.rs7 fn subslice<F>(v: F) -> F where F: FnOnce() { v } in subslice()
9 fn both<F>(v: F) -> F where F: FnOnce() { in both()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/dispatch-0.2.0/src/
H A Dlib.rs92 where F: FnOnce() { in context_and_function()
93 extern fn work_execute_closure<F>(context: Box<F>) where F: FnOnce() { in context_and_function()
106 where F: FnOnce() { in context_and_sync_function()
107 extern fn work_read_closure<F>(context: &mut Option<F>) where F: FnOnce() { in context_and_sync_function()
H A Donce.rs25 pub fn call_once<F>(&'static self, work: F) where F: FnOnce() { in call_once()
29 where F: FnOnce() { in call_once()
/dports/lang/rust/rustc-1.58.1-src/library/core/src/ops/
H A Dfunction.rs219 pub trait FnOnce<Args> { trait
252 impl<A, F: ?Sized> FnOnce<A> for &F impl
274 impl<A, F: ?Sized> FnOnce<A> for &mut F impl
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/dispatch-0.2.0/src/
H A Dlib.rs92 where F: FnOnce() { in context_and_function()
93 extern fn work_execute_closure<F>(context: Box<F>) where F: FnOnce() { in context_and_function()
106 where F: FnOnce() { in context_and_sync_function()
107 extern fn work_read_closure<F>(context: &mut Option<F>) where F: FnOnce() { in context_and_sync_function()
H A Dqueue.rs26 QueueAttribute::Serial => DISPATCH_QUEUE_SERIAL, in call_once()
31 #[cfg(all(test, target_os = "linux"))]
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/closures/
H A Dclosure-bounds-subtype.rs1 fn take_any<F>(_: F) where F: FnOnce() { in take_any()
7 fn give_any<F>(f: F) where F: FnOnce() { in give_any()
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/lang-items/
H A Dlang-item-missing-generator.rs9 pub trait FnOnce<Args> { interface
/dports/www/firefox/firefox-99.0/third_party/rust/coreaudio-sys-utils/src/
H A Ddispatch.rs27 F: Send + FnOnce(), in run_async()
43 F: Send + FnOnce(), in run_sync()
59 F: Send + FnOnce(), in run_final()
109 fn create_closure_and_executor<F>(closure: F) -> (*mut c_void, dispatch_function_t) in create_closure_and_executor()
113 extern "C" fn closure_executer<F>(unboxed_closure: *mut c_void) in create_closure_and_executor()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/coreaudio-sys-utils/src/
H A Ddispatch.rs27 F: Send + FnOnce(), in run_async()
43 F: Send + FnOnce(), in run_sync()
59 F: Send + FnOnce(), in run_final()
109 fn create_closure_and_executor<F>(closure: F) -> (*mut c_void, dispatch_function_t) in create_closure_and_executor()
113 extern "C" fn closure_executer<F>(unboxed_closure: *mut c_void) in create_closure_and_executor()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/coreaudio-sys-utils/src/
H A Ddispatch.rs27 F: Send + FnOnce(), in run_async()
43 F: Send + FnOnce(), in run_sync()
59 F: Send + FnOnce(), in run_final()
109 fn create_closure_and_executor<F>(closure: F) -> (*mut c_void, dispatch_function_t) in create_closure_and_executor()
113 extern "C" fn closure_executer<F>(unboxed_closure: *mut c_void) in create_closure_and_executor()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/coreaudio-sys-utils/src/
H A Ddispatch.rs27 F: Send + FnOnce(), in run_async()
43 F: Send + FnOnce(), in run_sync()
59 F: Send + FnOnce(), in run_final()
109 fn create_closure_and_executor<F>(closure: F) -> (*mut c_void, dispatch_function_t) in create_closure_and_executor()
113 extern "C" fn closure_executer<F>(unboxed_closure: *mut c_void) in create_closure_and_executor()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/arrow/util/
H A Dfunctional.h93 class FnOnce; variable
103 FnOnce(Fn fn) : impl_(new FnImpl<Fn>(std::move(fn))) { // NOLINT runtime/explicit in FnOnce() function
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/borrowck/
H A Dborrowck-loan-rcvr.rs5 fn blockm<F>(&self, f: F) where F: FnOnce(); in blockm()
12 fn blockm<F>(&self, f: F) where F: FnOnce() { f() } in blockm()
/dports/lang/rust/rustc-1.58.1-src/src/test/codegen/avr/
H A Davr-func-addrspace.rs32 pub trait FnOnce<Args> { interface
50 impl<'a, A, R> FnOnce<A> for &'a fn(A) -> R { impl
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/arrow/util/
H A Dfunctional.h123 class FnOnce; variable
133 FnOnce(Fn fn) : impl_(new FnImpl<Fn>(std::move(fn))) { // NOLINT runtime/explicit in FnOnce() function
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/feature-gates/
H A Dfeature-gate-unsized_locals.rs1 fn f(f: dyn FnOnce()) {} in f() function
/dports/lang/rust/rustc-1.58.1-src/src/tools/rustfmt/tests/source/
H A Dissue_4374.rs3 F: FnOnce() -> (), in a()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rustfmt/tests/target/
H A Dissue_4374.rs3 F: FnOnce() -> (), in a()
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/sentry-core-0.23.0/src/
H A Dtest.rs94 pub fn with_captured_events_options<F: FnOnce(), O: Into<ClientOptions>>( in with_captured_events_options()
120 pub fn with_captured_envelopes_options<F: FnOnce(), O: Into<ClientOptions>>( in with_captured_envelopes_options()
/dports/www/firefox/firefox-99.0/third_party/rust/objc_exception/src/
H A Dlib.rs29 where F: FnOnce() { in try_no_ret()
30 extern fn try_objc_execute_closure<F>(closure: &mut Option<F>) in try_no_ret()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/objc_exception/src/
H A Dlib.rs29 where F: FnOnce() { in try_no_ret()
30 extern fn try_objc_execute_closure<F>(closure: &mut Option<F>) in try_no_ret()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/objc_exception/src/
H A Dlib.rs29 where F: FnOnce() { in try_no_ret()
30 extern fn try_objc_execute_closure<F>(closure: &mut Option<F>) in try_no_ret()

12345678910>>...18