pub enum SloshChar<'a> {
Char(char),
String(Cow<'a, str>),
}
Expand description
Variants§
Trait Implementations§
impl<'a> Eq for SloshChar<'a>
impl<'a> StructuralPartialEq for SloshChar<'a>
Auto Trait Implementations§
impl<'a> Freeze for SloshChar<'a>
impl<'a> RefUnwindSafe for SloshChar<'a>
impl<'a> Send for SloshChar<'a>
impl<'a> Sync for SloshChar<'a>
impl<'a> Unpin for SloshChar<'a>
impl<'a> UnwindSafe for SloshChar<'a>
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