Enum rustc_typeck::middle::resolve_lifetime::Set1 [−][src]
pub enum Set1<T> {
Empty,
One(T),
Many,
}Expand description
A set containing, at most, one known element.
If two distinct values are inserted into a set, then it
becomes Many, which can be used to detect ambiguities.
Variants
Empty
One(T)
Many
Auto Trait Implementations
impl<T> RefUnwindSafe for Set1<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Set1<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.