/dports/lang/rust/rustc-1.58.1-src/src/test/run-pass-valgrind/unsized-locals/ |
H A D | by-value-trait-objects-rust-call2.rs | 4 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 D | move-nullary-fn.rs | 5 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 D | regions-dependent-autofn.rs | 7 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 D | lib.rs | 92 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 D | once.rs | 25 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 D | function.rs | 219 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 D | lib.rs | 92 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 D | queue.rs | 26 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 D | closure-bounds-subtype.rs | 1 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 D | lang-item-missing-generator.rs | 9 pub trait FnOnce<Args> { interface
|
/dports/www/firefox/firefox-99.0/third_party/rust/coreaudio-sys-utils/src/ |
H A D | dispatch.rs | 27 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 D | dispatch.rs | 27 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 D | dispatch.rs | 27 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 D | dispatch.rs | 27 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 D | functional.h | 93 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 D | borrowck-loan-rcvr.rs | 5 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 D | avr-func-addrspace.rs | 32 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 D | functional.h | 123 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 D | feature-gate-unsized_locals.rs | 1 fn f(f: dyn FnOnce()) {} in f() function
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rustfmt/tests/source/ |
H A D | issue_4374.rs | 3 F: FnOnce() -> (), in a()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rustfmt/tests/target/ |
H A D | issue_4374.rs | 3 F: FnOnce() -> (), in a()
|
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/sentry-core-0.23.0/src/ |
H A D | test.rs | 94 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 D | lib.rs | 29 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 D | lib.rs | 29 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 D | lib.rs | 29 where F: FnOnce() { in try_no_ret() 30 extern fn try_objc_execute_closure<F>(closure: &mut Option<F>) in try_no_ret()
|