oliver-giersch / closure
A macro wrapping Rust closure calls that allows for capturing variables in scope on an individual bases.
☆40Updated 2 years ago
Alternatives and similar repositories for closure:
Users that are interested in closure are comparing it to the libraries listed below
- Helper macros: autoimpl, impl_scope☆59Updated 3 months ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆142Updated 8 months ago
- Automatic cfg for Rust compiler features☆97Updated 6 months ago
- Macro for sealing traits and structures☆53Updated 4 months ago
- docs.rs as a publishing platform?☆68Updated 2 months ago
- Use declarative macros as proc_macro attributes or derives☆112Updated last week
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆78Updated this week
- Lending iterators on stable Rust☆82Updated last year
- Safely cast &T to &U where the struct U contains a single field of type T.☆200Updated last month
- Const equivalents of std functions, compile-time comparison, and parsing.☆96Updated 3 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
- Procedural macro to mock returning (values referencing) locals from a function (using CPS)☆30Updated 6 months ago
- Const TypeId and non-'static TypeId☆66Updated last month
- 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
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆75Updated last month
- A rust crate to find the total size of an object, on the stack and on the heap☆106Updated last year
- Typed index version of Rust slice and Vec containers☆69Updated 6 months ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆160Updated last month
- [stable] A convenient macro, for cloning values into a closure.☆29Updated last week
- Anonymous struct and named arguments in Rust.☆72Updated last year
- serde::Deserializer for proc_macro/proc_macro2::TokenStream☆73Updated 5 months ago
- Define your own PhantomData☆152Updated last month
- Rust crate for writing repetitive code easier and faster.☆43Updated 2 years ago
- Blazing fast immutable collection datatypes for Rust.☆102Updated last week
- Compile-time checks that an enum or match is written in sorted order☆113Updated last month
- Exposes arch-specific intrinsics as safe function (via cfg).☆54Updated last month
- Utilities for dealing with substructures within syn macros☆139Updated 8 months ago
- Lazy formatting utility macro for rust☆127Updated last year
- Proc macro derive to generate structs from enum variants.☆28Updated last year
- Overloadable functions in rust.☆43Updated 5 years ago