/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// As of rustc 1.80, structs that are never constructed are considered dead code, but this is // constructed from C++. #[allow(dead_code)] #[repr(C)] pubstruct Promise {
private: [u8; 0],
/// This field is a phantomdata to ensure that the Promise type and any /// struct containing it is not safe to send across threads, as DOM is /// generally not threadsafe.
__nosync: ::std::marker::PhantomData<::std::rc::Rc<u8>>,
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.