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.☆156Updated last month
- Postfix macros on stable Rust, today.☆76Updated 3 years ago
- Make trait methods callable without the trait in scope☆135Updated 3 weeks ago
- A simple wrapper around filesystem operations to provide more helpful error messages.☆139Updated 3 weeks ago
- (lifetime) GATs on stable Rust☆57Updated last year
- Better reference counted strings for Rust☆118Updated 7 months ago
- ☆111Updated 2 years ago
- Macro to repeat sequentially indexed copies of a fragment of code☆142Updated 3 weeks ago
- Use declarative macros as proc_macro attributes or derives☆108Updated last year
- Rust crate that provides number types similar to std's NonZero* types, but that cannot hold a type's maximum value instead.☆46Updated last year
- A collection of small utilities for working with pointer types in Rust.☆119Updated last month
- Automatic cfg for Rust compiler features☆95Updated 4 months ago
- Stack-allocated DSTs for rust (fixed capacity)☆48Updated 11 months ago
- Inline procedural macros for Rust☆54Updated 2 years ago
- Macro for sealing traits and structures☆51Updated 2 months ago
- Helper macros: autoimpl, impl_scope☆59Updated last month
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆100Updated last month
- A map implementation that relies on fixed-size storage derived by a procedural macro☆44Updated 2 months ago
- An alternate Cargo registry using static files☆110Updated 4 months ago
- ☆84Updated 3 months ago
- Extract documentation for the feature flags from comments in Cargo.toml☆177Updated this week
- Typed index version of Rust slice and Vec containers☆68Updated 4 months ago
- A scope for async_std and tokio to spawn non-static futures☆125Updated 8 months ago
- Const TypeId and non-'static TypeId☆60Updated last week
- Abstract over different executors☆73Updated last year
- Proc macro for smol async runtime☆53Updated 4 years ago
- ☆55Updated last year
- A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation☆136Updated 3 months ago
- serde::Deserializer for proc_macro/proc_macro2::TokenStream☆69Updated 3 months ago
- Oneshot Rust channel working both in and between sync and async environments☆85Updated 2 weeks ago