box-self
Easy way to duplicate a new function with self: Box<Self> signature.
Sometimes you need both functions fn consume(self) and fn consume_boxed(self: Box<Self>). This macro generates the second one for you.
Examples
use box_self;
Motivation:
License
Licensed under either of LICENSE-APACHE or LICENSE-MIT at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
License: MIT OR Apache-2.0