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