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
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆79Updated 3 weeks ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆161Updated 2 months ago
- Make trait methods callable without the trait in scope☆136Updated 2 months ago
- Use declarative macros as proc_macro attributes or derives☆112Updated 3 weeks ago
- Better reference counted strings for Rust☆125Updated 9 months ago
- Postfix macros on stable Rust, today.☆76Updated 4 years ago
- ☆112Updated 2 years ago
- ☆56Updated last year
- Stack-allocated DSTs for rust (fixed capacity)☆49Updated last year
- Automatic cfg for Rust compiler features☆96Updated 7 months ago
- A collection of small utilities for working with pointer types in Rust.☆124Updated 3 months ago
- Typed index version of Rust slice and Vec containers☆69Updated this week
- Intended to allow taking a T from a &mut T temporarily☆78Updated 5 years ago
- Compile-time checks that an enum or match is written in sorted order☆114Updated 2 months ago
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆75Updated 2 months ago
- A map implementation that relies on fixed-size storage derived by a procedural macro☆44Updated last month
- Macro for sealing traits and structures☆54Updated 5 months ago
- Oneshot Rust channel working both in and between sync and async environments☆88Updated 2 months ago
- Define your own PhantomData☆152Updated 2 months ago
- Macro to repeat sequentially indexed copies of a fragment of code☆155Updated 2 months ago
- An exploration of Storages☆35Updated last year
- Const TypeId and non-'static TypeId☆66Updated 2 months ago
- Helper macros: autoimpl, impl_scope☆60Updated 4 months ago
- Const equivalents of std functions, compile-time comparison, and parsing.☆97Updated 4 months ago
- (lifetime) GATs on stable Rust☆58Updated last year
- Fake implementation of `std::Fn` for user-defined data types☆36Updated 2 years ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆143Updated 9 months ago
- Data structures like Rust `alloc` which reuse user allocated memory☆56Updated 7 months ago
- A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation☆137Updated 6 months ago
- 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