pub struct Dual<S>(pub S);
Expand description
演算の順序を逆にした代数的構造
Tuple Fields§
§0: S
Trait Implementations§
impl<S: Associative> Associative for Dual<S>
impl<S: Commutative> Commutative for Dual<S>
impl<S: Copy> Copy for Dual<S>
impl<S: Eq> Eq for Dual<S>
impl<S: Idempotence> Idempotence for Dual<S>
impl<S: Set> Set for Dual<S>
impl<S> StructuralPartialEq for Dual<S>
Auto Trait Implementations§
impl<S> Freeze for Dual<S>where
S: Freeze,
impl<S> RefUnwindSafe for Dual<S>where
S: RefUnwindSafe,
impl<S> Send for Dual<S>where
S: Send,
impl<S> Sync for Dual<S>where
S: Sync,
impl<S> Unpin for Dual<S>where
S: Unpin,
impl<S> UnwindSafe for Dual<S>where
S: 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