Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 627 Bytes

File metadata and controls

22 lines (16 loc) · 627 Bytes

Windows reference type

The windows-reference crate implements IReference<T> for boxed Windows values.

Start by adding the following to your Cargo.toml file:

[dependencies.windows-reference]
version = "0.100"
use windows_reference::*;

let value = IReference::<i32>::from(42);
assert_eq!(value.Value().unwrap(), 42);