Enum tabled::grid::records::into_records::either_string::EitherString
source · pub enum EitherString<T> {
Owned(String),
Some(T),
}
Available on crate feature
std
only.Expand description
Either allocated string or some type which can be used as a string.
Variants§
Trait Implementations§
source§impl<T> AsRef<str> for EitherString<T>
impl<T> AsRef<str> for EitherString<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for EitherString<T>where
T: RefUnwindSafe,
impl<T> Send for EitherString<T>where
T: Send,
impl<T> Sync for EitherString<T>where
T: Sync,
impl<T> Unpin for EitherString<T>where
T: Unpin,
impl<T> UnwindSafe for EitherString<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more