Lines Matching full:paste
4 …badge/github-dtolnay/paste-8da0cb?style=for-the-badge&labelColor=555555&logo=github" height="20">]…
5 …://img.shields.io/crates/v/paste.svg?style=for-the-badge&color=fc8d62&logo=rust" height="20">](htt…
6 ….shields.io/badge/docs.rs-paste-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs" height=…
7 …ions/workflow/status/dtolnay/paste/ci.yml?branch=master&style=for-the-badge" height="20">](https:/…
15 This crate provides a flexible way to paste together identifiers in a macro,
20 paste = "1.0"
29 Within the `paste!` macro, identifiers inside `[<`...`>]` are pasted together to
33 use paste::paste;
35 paste! {
42 paste! { [<Q R S T>].len() },
53 fields. It demonstrates how you might find it useful to bundle a paste
57 use paste::paste;
81 paste! {
105 segment to lower- or uppercase as part of the paste. For example, `[<ld_
106 $reg:lower _expr>]` would paste to `ld_bc_expr` if invoked with $reg=`Bc`.
122 Within the `paste!` macro, arguments to a #\[doc ...\] attribute are implicitly
126 use paste::paste;
130 paste! {
137 pub struct Paste {}
139 method_new!(Paste); // expands to #[doc = "Create a new `Paste` object"]