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.
☆115Updated 8 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.☆179Updated 5 months ago
- Macro to repeat sequentially indexed copies of a fragment of code☆161Updated last month
- Automatic cfg for Rust compiler features☆110Updated 7 months ago
- Make trait methods callable without the trait in scope☆162Updated last month
- ☆111Updated 3 years ago
- A collection of small utilities for working with pointer types in Rust.☆133Updated last year
- Postfix macros on stable Rust, today.☆76Updated 4 years ago
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆92Updated 9 months ago
- Compile-time checks that an enum or match is written in sorted order☆120Updated last month
- serde::Deserializer for proc_macro/proc_macro2::TokenStream☆74Updated last year
- Better reference counted strings for Rust☆140Updated last year
- Macro for sealing traits and structures☆61Updated last year
- Utilities for dealing with substructures within syn macros☆143Updated 8 months ago
- A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation☆144Updated 4 months ago
- Find out about keys that are ignored when deserializing data☆95Updated last month
- Const equivalents of std functions, compile-time comparison, and parsing.☆119Updated 3 months ago
- Threadsafe RefCell for Rust☆99Updated 10 months ago
- Macro to generate random constants in Rust https://xkcd.com/221/☆79Updated last year
- Stack-allocated DSTs for rust (fixed capacity)☆52Updated last year
- ☆61Updated 2 years ago
- Intended to allow taking a T from a &mut T temporarily☆80Updated 6 years ago
- docs.rs as a publishing platform?☆71Updated last month
- Fake implementation of `std::Fn` for user-defined data types☆36Updated 3 years ago
- A library for compact bit sets containing enums.☆121Updated last month
- Typed index version of Rust slice and Vec containers☆75Updated 2 weeks ago
- Const TypeId and non-'static TypeId☆70Updated last month
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆124Updated last week
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆152Updated 2 months ago
- ☆61Updated last year
- Project group working on the "safe transmute" feature☆97Updated last year