{"library":"ref-cast","type":"library","category":null,"description":"Safely cast &T to &U where the struct U contains a single field of type T.","language":"rust","status":"active","version":"1.0.25","tags":["cast","safe","transparent","zero-cost"],"last_verified":"Tue Jun 16","install":[{"cmd":"# Cargo.toml\n[dependencies]\nref-cast = \"1.0.25\"","imports":["use ref_cast::RefCast;"]},{"cmd":"cargo add ref-cast","imports":[]}],"homepage":"https://github.com/dtolnay/ref-cast","github":"https://github.com/dtolnay/ref-cast","docs":"https://docs.rs/ref-cast/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}