alecmocatta / replace_with
Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one.
☆109Updated 2 years ago
Alternatives and similar repositories for replace_with:
Users that are interested in replace_with are comparing it to the libraries listed below
- Safe, zero-cost downcasting for limited compile-time specialization.☆158Updated last month
- Better reference counted strings for Rust☆120Updated 9 months ago
- Automatic cfg for Rust compiler features☆96Updated 6 months ago
- Make trait methods callable without the trait in scope☆136Updated last month
- Macro for sealing traits and structures☆53Updated 4 months ago
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆78Updated 3 months ago
- Typed index version of Rust slice and Vec containers☆69Updated 6 months ago
- docs.rs as a publishing platform?☆68Updated last month
- ☆112Updated 2 years ago
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆102Updated 3 months ago
- Fake implementation of `std::Fn` for user-defined data types☆36Updated 2 years ago
- `$crate` in procedural macros.☆69Updated last month
- Find out about keys that are ignored when deserializing data☆80Updated last month
- Macro to repeat sequentially indexed copies of a fragment of code☆154Updated last month
- Use declarative macros as proc_macro attributes or derives☆112Updated this week
- Procedural macro to easily write higher-order strategies in proptest.☆46Updated 2 weeks ago
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆75Updated last month
- Helper macros: autoimpl, impl_scope☆59Updated 3 months ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆142Updated 8 months ago
- (lifetime) GATs on stable Rust☆57Updated last year
- Test harness for declarative and procedural macros expansion via `cargo-expand`☆56Updated last month
- Oneshot Rust channel working both in and between sync and async environments☆87Updated last month
- Intended to allow taking a T from a &mut T temporarily☆78Updated 5 years ago
- serde::Deserializer for proc_macro/proc_macro2::TokenStream☆73Updated 5 months ago
- Const equivalents of std functions, compile-time comparison, and parsing.☆96Updated 3 months ago
- Lending iterators on stable Rust☆82Updated last year
- #[no_std] print equivalent for Rust☆63Updated last year
- Postfix macros on stable Rust, today.☆76Updated 4 years ago
- A map implementation that relies on fixed-size storage derived by a procedural macro☆44Updated 2 weeks ago
- Compile-time checks that an enum or match is written in sorted order☆113Updated last month