24ef5246291e17b6e0562411bdc0ba2eaf4d1e00
Properly make core_text::font::Font be Send and Sync The Apple documentation says: > All individual functions in Core Text are thread-safe. Font objects (CTFont, > CTFontDescriptor, and associated objects) can be used simultaneously by > multiple operations, work queues, or threads. However, the layout objects > (CTTypesetter, CTFramesetter, CTRun, CTLine, CTFrame, and associated objects) > should be used in a single operation, work queue, or thread. https://developer.apple.com/documentation/coretext
core-foundation-rs
Compatibility
Targets macOS 10.7 by default.
To enable features added in macOS 10.8, set Cargo feature mac_os_10_8_features. To have both 10.8 features and 10.7 compatibility, also set mac_os_10_7_support. Setting both requires weak linkage, which is a nightly-only feature as of Rust 1.19.
For more experimental but more complete, generated bindings take a look at https://github.com/michaelwu/RustKit.
Description
Languages
Rust
100%