rustc_data_structures::captures

Trait Captures

source
pub trait Captures<'a> { }
Expand description

“Signaling” trait used in impl trait to tag lifetimes that you may need to capture but don’t really need for other reasons. Basically a workaround; see this comment for details.

Implementors§

source§

impl<'a, T: ?Sized> Captures<'a> for T