pub struct DirectProduct<const M: usize, const N: usize, F> { /* private fields */ }Trait Implementations§
Source§impl<const M: usize, const N: usize, F> Add for DirectProduct<M, N, F>
impl<const M: usize, const N: usize, F> Add for DirectProduct<M, N, F>
Source§type Output = DirectProduct<M, N, F>
type Output = DirectProduct<M, N, F>
The resulting type after applying the
+ operator.Source§impl<const M: usize, const N: usize, F: Clone> Clone for DirectProduct<M, N, F>
impl<const M: usize, const N: usize, F: Clone> Clone for DirectProduct<M, N, F>
Source§fn clone(&self) -> DirectProduct<M, N, F>
fn clone(&self) -> DirectProduct<M, N, F>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<const M: usize, const N: usize, F> From<DirectProduct<M, N, F>> for DirectSum<M, N, F>
impl<const M: usize, const N: usize, F> From<DirectProduct<M, N, F>> for DirectSum<M, N, F>
Source§fn from(prod: DirectProduct<M, N, F>) -> DirectSum<M, N, F>
fn from(prod: DirectProduct<M, N, F>) -> DirectSum<M, N, F>
Converts to this type from the input type.
Source§impl<const M: usize, const N: usize, F> From<DirectSum<M, N, F>> for DirectProduct<M, N, F>
impl<const M: usize, const N: usize, F> From<DirectSum<M, N, F>> for DirectProduct<M, N, F>
Source§fn from(sum: DirectSum<M, N, F>) -> DirectProduct<M, N, F>
fn from(sum: DirectSum<M, N, F>) -> DirectProduct<M, N, F>
Converts to this type from the input type.
Source§impl<const M: usize, const N: usize, F> ProductType for DirectProduct<M, N, F>where
F: Copy,
impl<const M: usize, const N: usize, F> ProductType for DirectProduct<M, N, F>where
F: Copy,
impl<const M: usize, const N: usize, F: Copy> Copy for DirectProduct<M, N, F>
Auto Trait Implementations§
impl<const M: usize, const N: usize, F> Freeze for DirectProduct<M, N, F>where
F: Freeze,
impl<const M: usize, const N: usize, F> RefUnwindSafe for DirectProduct<M, N, F>where
F: RefUnwindSafe,
impl<const M: usize, const N: usize, F> Send for DirectProduct<M, N, F>where
F: Send,
impl<const M: usize, const N: usize, F> Sync for DirectProduct<M, N, F>where
F: Sync,
impl<const M: usize, const N: usize, F> Unpin for DirectProduct<M, N, F>where
F: Unpin,
impl<const M: usize, const N: usize, F> UnwindSafe for DirectProduct<M, N, F>where
F: 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