pub struct WithVar<T, C = char> {
pub val: T,
pub var: C,
}Expand description
call mul_var
Fields§
§val: T§var: CTrait Implementations§
impl<T: Copy, C: Copy> Copy for WithVar<T, C>
Auto Trait Implementations§
impl<T, C> Freeze for WithVar<T, C>
impl<T, C> RefUnwindSafe for WithVar<T, C>where
T: RefUnwindSafe,
C: RefUnwindSafe,
impl<T, C> Send for WithVar<T, C>
impl<T, C> Sync for WithVar<T, C>
impl<T, C> Unpin for WithVar<T, C>
impl<T, C> UnwindSafe for WithVar<T, C>where
T: UnwindSafe,
C: 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