mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-08-26 21:21:14 -04:00
1213b3dfb1
remove `clap` dependency 🎉
update the book installation instructions
11 lines
293 B
C++
11 lines
293 B
C++
// bindgen-flags: -- --target=x86_64-pc-win32
|
|
|
|
template<typename Method, bool Cancelable>
|
|
struct nsRunnableMethodTraits;
|
|
|
|
template<class C, typename R, bool Cancelable, typename... As>
|
|
struct nsRunnableMethodTraits<R(C::*)(As...), Cancelable>
|
|
{
|
|
static const bool can_cancel = Cancelable;
|
|
};
|