Crate core_foundation

Source
Expand description

This crate provides wrappers around the underlying CoreFoundation types and functions that are available on Apple’s operating systems.

It also provides a framework for other crates to use when wrapping other frameworks that use the CoreFoundation framework.

Modules§

array
Heterogeneous immutable arrays.
attributed_string
base
boolean
A Boolean type.
bundle
Core Foundation Bundle Type
characterset
A set of Unicode compliant characters.
data
Core Foundation byte buffers.
date
Core Foundation date objects.
dictionary
Dictionaries of key-value pairs.
error
Core Foundation errors.
filedescriptor
mach_port
number
Immutable numbers.
propertylist
Core Foundation property lists
runloop
set
An immutable bag of elements.
string
Immutable strings.
timezone
Core Foundation time zone objects.
url
A URL type for Core Foundation.
uuid
Core Foundation UUID objects.

Macros§

declare_TCFType
Declare a Rust type that wraps an underlying CoreFoundation type.
impl_CFComparison
impl_CFTypeDescription
Implement std::fmt::Debug for the given type.
impl_TCFType
Provide an implementation of the TCFType trait for the Rust wrapper type around an underlying CoreFoundation type.

Traits§

ConcreteCFType