[go: up one dir, main page]

ref-cast 0.2.3

Safely cast &T to &U where the struct U contains a single field of type T.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[package]
name = "ref-cast"
version = "0.2.3" # remember to update html_root_url
authors = ["David Tolnay <dtolnay@gmail.com>"]
license = "MIT/Apache-2.0"
description = "Safely cast &T to &U where the struct U contains a single field of type T."
repository = "https://github.com/dtolnay/ref-cast"
documentation = "https://docs.rs/ref-cast"

[dependencies]
ref-cast-impl = { version = "0.2", path = "derive" }

[workspace]
members = ["derive", "compiletest"]