A stock implementation of the WinRT
IReference<T>interface.
- 馃摝 crates.io
- 馃摉 docs.rs
- 馃殌 Getting started
- 馃搧 Source
Many Windows APIs use IReference<T> to box an optional or by-reference value (the WinRT equivalent
of Nullable<T>). windows-reference provides a ready implementation so you can wrap a Rust value
and hand it to such an API.
The remainder of this page covers how the crate is built and maintained. It is for contributors and
is not needed to use windows-reference.
src/bindings.rs is generated; the IReference<T> implementation is hand-written.
Run cargo test -p windows-reference; see also the workspace test crates.