Struct variance::InvariantLifetime
[−]
[src]
pub struct InvariantLifetime<'id>(_);
A marker for forcing 'id to be considered invariant.
Methods
impl<'id> InvariantLifetime<'id>
fn new() -> Self
Create a new InvariantLifetime marker instance.
All instances of InvariantLifetime with the same lifetime are equivalent.