Enum ordered_stream::MaybeBorrowed [−][src]
pub enum MaybeBorrowed<'a, T> {
Borrowed(&'a T),
Owned(T),
}
Expand description
A value that is either borrowed or owned.
This is similar to std::borrow::Cow
, but does not require the ability to convert from
borrowed to owned.
Variants
Borrowed(&'a T)
Tuple Fields
0: &'a T