alecmocatta / replace_withLinks
Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one.
☆114Updated 7 months ago
Alternatives and similar repositories for replace_with
Users that are interested in replace_with are comparing it to the libraries listed below
Sorting:
- Safe, zero-cost downcasting for limited compile-time specialization.☆178Updated 5 months ago
- ☆112Updated 3 years ago
- Postfix macros on stable Rust, today.☆75Updated 4 years ago
- Automatic cfg for Rust compiler features☆110Updated 6 months ago
- Better reference counted strings for Rust☆139Updated last year
- ☆61Updated 2 years ago
- Make trait methods callable without the trait in scope☆161Updated 3 weeks ago
- Macro to repeat sequentially indexed copies of a fragment of code☆160Updated 3 weeks ago
- Compile-time checks that an enum or match is written in sorted order☆120Updated 3 weeks ago
- Macro for sealing traits and structures☆60Updated last year
- A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation☆144Updated 3 months ago
- Utilities for dealing with substructures within syn macros☆143Updated 8 months ago
- A collection of small utilities for working with pointer types in Rust.☆133Updated 11 months ago
- ☆77Updated 4 years ago
- Migrated to Codeberg☆79Updated 2 years ago
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆91Updated 8 months ago
- A map implementation that relies on fixed-size storage derived by a procedural macro☆52Updated 3 months ago
- Threadsafe RefCell for Rust☆99Updated 9 months ago
- Graph the number of crates that depend on your crate over time☆256Updated 3 weeks ago
- Const equivalents of std functions, compile-time comparison, and parsing.☆118Updated 2 months ago
- `$crate` in procedural macros.☆79Updated last month
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆123Updated 4 months ago
- Stack-allocated DSTs for rust (fixed capacity)☆51Updated last year
- A library for compact bit sets containing enums.☆121Updated last month
- Extract documentation for the feature flags from comments in Cargo.toml☆191Updated 2 months ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆152Updated last month
- serde::Deserializer for proc_macro/proc_macro2::TokenStream☆74Updated last year
- Define your own PhantomData☆158Updated 3 weeks ago
- Macro to generate random constants in Rust https://xkcd.com/221/☆79Updated last year
- Pull in every source file in a directory as a module☆179Updated 3 weeks ago