pub struct Dim<L, T, M, Th, I, N, J, A>(/* private fields */)
where
L: Integer,
T: Integer,
M: Integer,
Th: Integer,
I: Integer,
N: Integer,
J: Integer,
A: Integer;Expand description
A physical dimension encoded as eight typenum integer exponents.
This is a zero-sized type: no runtime cost.
Trait Implementations§
Source§impl<L1, T1, M1, Th1, I1, N1, J1, A1, L2, T2, M2, Th2, I2, N2, J2, A2> DimDiv<Dim<L2, T2, M2, Th2, I2, N2, J2, A2>> for Dim<L1, T1, M1, Th1, I1, N1, J1, A1>where
L1: Integer + Sub<L2> + 'static,
T1: Integer + Sub<T2> + 'static,
M1: Integer + Sub<M2> + 'static,
Th1: Integer + Sub<Th2> + 'static,
I1: Integer + Sub<I2> + 'static,
N1: Integer + Sub<N2> + 'static,
J1: Integer + Sub<J2> + 'static,
A1: Integer + Sub<A2> + 'static,
L2: Integer + 'static,
T2: Integer + 'static,
M2: Integer + 'static,
Th2: Integer + 'static,
I2: Integer + 'static,
N2: Integer + 'static,
J2: Integer + 'static,
A2: Integer + 'static,
<L1 as Sub<L2>>::Output: Integer + 'static,
<T1 as Sub<T2>>::Output: Integer + 'static,
<M1 as Sub<M2>>::Output: Integer + 'static,
<Th1 as Sub<Th2>>::Output: Integer + 'static,
<I1 as Sub<I2>>::Output: Integer + 'static,
<N1 as Sub<N2>>::Output: Integer + 'static,
<J1 as Sub<J2>>::Output: Integer + 'static,
<A1 as Sub<A2>>::Output: Integer + 'static,
impl<L1, T1, M1, Th1, I1, N1, J1, A1, L2, T2, M2, Th2, I2, N2, J2, A2> DimDiv<Dim<L2, T2, M2, Th2, I2, N2, J2, A2>> for Dim<L1, T1, M1, Th1, I1, N1, J1, A1>where
L1: Integer + Sub<L2> + 'static,
T1: Integer + Sub<T2> + 'static,
M1: Integer + Sub<M2> + 'static,
Th1: Integer + Sub<Th2> + 'static,
I1: Integer + Sub<I2> + 'static,
N1: Integer + Sub<N2> + 'static,
J1: Integer + Sub<J2> + 'static,
A1: Integer + Sub<A2> + 'static,
L2: Integer + 'static,
T2: Integer + 'static,
M2: Integer + 'static,
Th2: Integer + 'static,
I2: Integer + 'static,
N2: Integer + 'static,
J2: Integer + 'static,
A2: Integer + 'static,
<L1 as Sub<L2>>::Output: Integer + 'static,
<T1 as Sub<T2>>::Output: Integer + 'static,
<M1 as Sub<M2>>::Output: Integer + 'static,
<Th1 as Sub<Th2>>::Output: Integer + 'static,
<I1 as Sub<I2>>::Output: Integer + 'static,
<N1 as Sub<N2>>::Output: Integer + 'static,
<J1 as Sub<J2>>::Output: Integer + 'static,
<A1 as Sub<A2>>::Output: Integer + 'static,
Source§impl<L1, T1, M1, Th1, I1, N1, J1, A1, L2, T2, M2, Th2, I2, N2, J2, A2> DimMul<Dim<L2, T2, M2, Th2, I2, N2, J2, A2>> for Dim<L1, T1, M1, Th1, I1, N1, J1, A1>where
L1: Integer + Add<L2> + 'static,
T1: Integer + Add<T2> + 'static,
M1: Integer + Add<M2> + 'static,
Th1: Integer + Add<Th2> + 'static,
I1: Integer + Add<I2> + 'static,
N1: Integer + Add<N2> + 'static,
J1: Integer + Add<J2> + 'static,
A1: Integer + Add<A2> + 'static,
L2: Integer + 'static,
T2: Integer + 'static,
M2: Integer + 'static,
Th2: Integer + 'static,
I2: Integer + 'static,
N2: Integer + 'static,
J2: Integer + 'static,
A2: Integer + 'static,
<L1 as Add<L2>>::Output: Integer + 'static,
<T1 as Add<T2>>::Output: Integer + 'static,
<M1 as Add<M2>>::Output: Integer + 'static,
<Th1 as Add<Th2>>::Output: Integer + 'static,
<I1 as Add<I2>>::Output: Integer + 'static,
<N1 as Add<N2>>::Output: Integer + 'static,
<J1 as Add<J2>>::Output: Integer + 'static,
<A1 as Add<A2>>::Output: Integer + 'static,
impl<L1, T1, M1, Th1, I1, N1, J1, A1, L2, T2, M2, Th2, I2, N2, J2, A2> DimMul<Dim<L2, T2, M2, Th2, I2, N2, J2, A2>> for Dim<L1, T1, M1, Th1, I1, N1, J1, A1>where
L1: Integer + Add<L2> + 'static,
T1: Integer + Add<T2> + 'static,
M1: Integer + Add<M2> + 'static,
Th1: Integer + Add<Th2> + 'static,
I1: Integer + Add<I2> + 'static,
N1: Integer + Add<N2> + 'static,
J1: Integer + Add<J2> + 'static,
A1: Integer + Add<A2> + 'static,
L2: Integer + 'static,
T2: Integer + 'static,
M2: Integer + 'static,
Th2: Integer + 'static,
I2: Integer + 'static,
N2: Integer + 'static,
J2: Integer + 'static,
A2: Integer + 'static,
<L1 as Add<L2>>::Output: Integer + 'static,
<T1 as Add<T2>>::Output: Integer + 'static,
<M1 as Add<M2>>::Output: Integer + 'static,
<Th1 as Add<Th2>>::Output: Integer + 'static,
<I1 as Add<I2>>::Output: Integer + 'static,
<N1 as Add<N2>>::Output: Integer + 'static,
<J1 as Add<J2>>::Output: Integer + 'static,
<A1 as Add<A2>>::Output: Integer + 'static,
Source§impl<L, T, M, Th, I, N, J, A> PartialEq for Dim<L, T, M, Th, I, N, J, A>
impl<L, T, M, Th, I, N, J, A> PartialEq for Dim<L, T, M, Th, I, N, J, A>
impl<L, T, M, Th, I, N, J, A> Copy for Dim<L, T, M, Th, I, N, J, A>
impl<L, T, M, Th, I, N, J, A> Dimension for Dim<L, T, M, Th, I, N, J, A>
impl<L, T, M, Th, I, N, J, A> Eq for Dim<L, T, M, Th, I, N, J, A>
impl<L, T, M, Th, I, N, J, A> StructuralPartialEq for Dim<L, T, M, Th, I, N, J, A>
Auto Trait Implementations§
impl<L, T, M, Th, I, N, J, A> Freeze for Dim<L, T, M, Th, I, N, J, A>
impl<L, T, M, Th, I, N, J, A> RefUnwindSafe for Dim<L, T, M, Th, I, N, J, A>where
L: RefUnwindSafe,
T: RefUnwindSafe,
M: RefUnwindSafe,
Th: RefUnwindSafe,
I: RefUnwindSafe,
N: RefUnwindSafe,
J: RefUnwindSafe,
A: RefUnwindSafe,
impl<L, T, M, Th, I, N, J, A> Send for Dim<L, T, M, Th, I, N, J, A>
impl<L, T, M, Th, I, N, J, A> Sync for Dim<L, T, M, Th, I, N, J, A>
impl<L, T, M, Th, I, N, J, A> Unpin for Dim<L, T, M, Th, I, N, J, A>
impl<L, T, M, Th, I, N, J, A> UnsafeUnpin for Dim<L, T, M, Th, I, N, J, A>
impl<L, T, M, Th, I, N, J, A> UnwindSafe for Dim<L, T, M, Th, I, N, J, A>where
L: UnwindSafe,
T: UnwindSafe,
M: UnwindSafe,
Th: UnwindSafe,
I: UnwindSafe,
N: UnwindSafe,
J: UnwindSafe,
A: 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