DXR will be turned off on Tuesday, December 29th. It will redirect to Searchfox.
See the announcement on Discourse.

DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (1aeaa33a64f9)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// basically duplicating the unstable `std::boxed::FnBox`
pub trait FnBox<Arguments, Result> {
	fn call(self: Box<Self>, args: Arguments) -> Result;
}

impl_trait_n_args!();
impl_trait_n_args!(a1: A1);
impl_trait_n_args!(a1: A1, a2: A2);
impl_trait_n_args!(a1: A1, a2: A2, a3: A3);
impl_trait_n_args!(a1: A1, a2: A2, a3: A3, a4: A4);
impl_trait_n_args!(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5);
impl_trait_n_args!(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6);
impl_trait_n_args!(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7);
impl_trait_n_args!(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8);
impl_trait_n_args!(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8, a9: A9);
impl_trait_n_args!(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8, a9: A9, a10: A10);