pub struct ScalarNotTuple<typ> {
pub typ: typ,
}Expand description
Two types cannot be equal because one is a tuple and the other a scalar
Fields§
§typ: typTuple type found
Trait Implementations§
Auto Trait Implementations§
impl<typ> Freeze for ScalarNotTuple<typ>where
typ: Freeze,
impl<typ> RefUnwindSafe for ScalarNotTuple<typ>where
typ: RefUnwindSafe,
impl<typ> Send for ScalarNotTuple<typ>where
typ: Send,
impl<typ> Sync for ScalarNotTuple<typ>where
typ: Sync,
impl<typ> Unpin for ScalarNotTuple<typ>where
typ: Unpin,
impl<typ> UnwindSafe for ScalarNotTuple<typ>where
typ: 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