pub struct UnusedGeneric<unused, inputs> {
pub unused: unused,
pub inputs: inputs,
}Expand description
When a generic type variable is unused and thus not inferrable
Fields§
§unused: unusedType variable that is absent from the inputs declaration.
inputs: inputsDeclaration of said inputs.
Trait Implementations§
Auto Trait Implementations§
impl<unused, inputs> Freeze for UnusedGeneric<unused, inputs>
impl<unused, inputs> RefUnwindSafe for UnusedGeneric<unused, inputs>where
unused: RefUnwindSafe,
inputs: RefUnwindSafe,
impl<unused, inputs> Send for UnusedGeneric<unused, inputs>
impl<unused, inputs> Sync for UnusedGeneric<unused, inputs>
impl<unused, inputs> Unpin for UnusedGeneric<unused, inputs>
impl<unused, inputs> UnwindSafe for UnusedGeneric<unused, inputs>where
unused: UnwindSafe,
inputs: 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