pub struct EnumToEnum<Index>(/* private fields */);
Expand description
Used in ExchangeFrom
/ExchangeInto
to distinguish conversions between enums from those between an enum and its variant.
Auto Trait Implementations§
impl<Index> Freeze for EnumToEnum<Index>where
Index: Freeze,
impl<Index> RefUnwindSafe for EnumToEnum<Index>where
Index: RefUnwindSafe,
impl<Index> Send for EnumToEnum<Index>where
Index: Send,
impl<Index> Sync for EnumToEnum<Index>where
Index: Sync,
impl<Index> Unpin for EnumToEnum<Index>where
Index: Unpin,
impl<Index> UnwindSafe for EnumToEnum<Index>where
Index: 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