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 2 weeks ago
- Make trait methods callable without the trait in scope☆136Updated 2 weeks ago
- Automatic cfg for Rust compiler features☆96Updated 5 months ago
- Migrated to Codeberg☆80Updated last year
- ☆111Updated 2 years ago
- A collection of small utilities for working with pointer types in Rust.☆123Updated 2 months ago
- Fake implementation of `std::Fn` for user-defined data types☆36Updated 2 years ago
- Oneshot Rust channel working both in and between sync and async environments☆86Updated last month
- Typed index version of Rust slice and Vec containers☆69Updated 5 months ago
- Automatically implement traits for common smart pointers☆106Updated 2 months ago
- Concatenate identifiers in a macro invocation☆93Updated 2 years ago
- A simple wrapper around filesystem operations to provide more helpful error messages.☆141Updated 2 months ago
- A tool to mine crates.io and produce static websites☆129Updated 5 months ago
- A map implementation that relies on fixed-size storage derived by a procedural macro☆44Updated 3 months ago
- Macro to repeat sequentially indexed copies of a fragment of code☆150Updated 2 weeks ago
- Parsing and inspecting Rust literals (particularly useful for proc macros)☆43Updated last year
- Macro for sealing traits and structures☆52Updated 3 months ago
- Define your own PhantomData☆152Updated 2 weeks ago
- Lending iterators on stable Rust☆82Updated last year
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆141Updated 7 months ago
- A rust crate to find the total size of an object, on the stack and on the heap☆106Updated last year
- Helper macros: autoimpl, impl_scope☆59Updated 2 months ago
- Abstract over different executors☆73Updated last year
- Yet Another Async Runtime (yaar) focused on forbid(unsafe) and scalability☆81Updated 3 years ago
- Serialization value trees☆44Updated 7 months ago
- (lifetime) GATs on stable Rust☆57Updated last year
- Safe wrapper for initializing arrays☆73Updated 2 years ago
- `$crate` in procedural macros.☆69Updated 2 weeks ago
- Macro to generate random constants in Rust https://xkcd.com/221/☆78Updated last year
- Lazy formatting utility macro for rust☆126Updated last year