dtolnay / ref-castLinks
Safely cast &T to &U where the struct U contains a single field of type T.
☆215Updated last week
Alternatives and similar repositories for ref-cast
Users that are interested in ref-cast are comparing it to the libraries listed below
Sorting:
- Safe, zero-cost downcasting for limited compile-time specialization.☆176Updated 3 months ago
- Macro to repeat sequentially indexed copies of a fragment of code☆161Updated last week
- Fork of std::Arc with lots of utilities useful for FFI☆265Updated 3 weeks ago
- A scope for async_std and tokio to spawn non-static futures☆153Updated last year
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆169Updated last year
- Graph the number of crates that depend on your crate over time☆254Updated this week
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆291Updated 2 years ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆288Updated 2 weeks ago
- Better reference counted strings for Rust☆139Updated last year
- A library for to allow multiple return types by automatically generated enum.☆372Updated 2 weeks ago
- Statically-checked alternatives to RefCell and RwLock☆383Updated 2 months ago
- Define your own PhantomData☆158Updated last week
- Portable atomic types including support for 128-bit atomics, atomic float, etc.☆207Updated last week
- Utilities for working with impl traits in Rust.☆117Updated 10 months ago
- Cargo extension for running Criterion.rs benchmarks☆208Updated 6 months ago
- Make trait methods callable without the trait in scope☆161Updated last week
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆138Updated 5 months ago
- Utility wrapper to send non send types to other threads safely☆186Updated 8 months ago
- A lightweight version of pin-project written with declarative macros.☆261Updated 2 weeks ago
- Lazy formatting utility macro for rust☆129Updated 2 years ago
- Compile-time string formatting☆250Updated last month
- "A very small syn"☆212Updated 10 months ago
- Compile-time string operations☆111Updated 2 months ago
- Struct fields that are made read-only accessible to other modules☆259Updated last week
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆152Updated last week
- Manual segmented stacks for Rust☆328Updated last month
- Pull in every source file in a directory as a module