Enum hash_arr_map::Key [−][src]
pub enum Key<'a, T> {
Owned(T),
Borrowed(&'a T),
}
Expand description
This is partly like Cow
, but the ‘owned’ type is always the same as the
‘borrowed’ type.
Variants
Borrowed(&'a T)
Tuple Fields of Borrowed
0: &'a T
Trait Implementations
Convert it. Read more
Whether the specified value is allowed to be used to make an index out of thin air. Read more
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Key<'a, T> where
T: RefUnwindSafe,
impl<'a, T> UnwindSafe for Key<'a, T> where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more