pub struct Sum<T>(/* private fields */);Expand description
加法を演算とする代数的構造
Implementations§
Trait Implementations§
Source§impl BinaryOp for Sum<f32>
impl BinaryOp for Sum<f32>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<f64>
impl BinaryOp for Sum<f64>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<i128>
impl BinaryOp for Sum<i128>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<i16>
impl BinaryOp for Sum<i16>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<i32>
impl BinaryOp for Sum<i32>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<i64>
impl BinaryOp for Sum<i64>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<i8>
impl BinaryOp for Sum<i8>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<isize>
impl BinaryOp for Sum<isize>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<u128>
impl BinaryOp for Sum<u128>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<u16>
impl BinaryOp for Sum<u16>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<u32>
impl BinaryOp for Sum<u32>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<u64>
impl BinaryOp for Sum<u64>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<u8>
impl BinaryOp for Sum<u8>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl BinaryOp for Sum<usize>
impl BinaryOp for Sum<usize>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl<T: Ord> Ord for Sum<T>
impl<T: Ord> Ord for Sum<T>
Source§impl<T: PartialOrd> PartialOrd for Sum<T>
impl<T: PartialOrd> PartialOrd for Sum<T>
impl Associative for Sum<f32>
impl Associative for Sum<f64>
impl Associative for Sum<i128>
impl Associative for Sum<i16>
impl Associative for Sum<i32>
impl Associative for Sum<i64>
impl Associative for Sum<i8>
impl Associative for Sum<isize>
impl Associative for Sum<u128>
impl Associative for Sum<u16>
impl Associative for Sum<u32>
impl Associative for Sum<u64>
impl Associative for Sum<u8>
impl Associative for Sum<usize>
impl Commutative for Sum<f32>
impl Commutative for Sum<f64>
impl Commutative for Sum<i128>
impl Commutative for Sum<i16>
impl Commutative for Sum<i32>
impl Commutative for Sum<i64>
impl Commutative for Sum<i8>
impl Commutative for Sum<isize>
impl Commutative for Sum<u128>
impl Commutative for Sum<u16>
impl Commutative for Sum<u32>
impl Commutative for Sum<u64>
impl Commutative for Sum<u8>
impl Commutative for Sum<usize>
impl<T: Copy> Copy for Sum<T>
impl<T: Eq> Eq for Sum<T>
impl Ordered for Sum<i128>
impl Ordered for Sum<i16>
impl Ordered for Sum<i32>
impl Ordered for Sum<i64>
impl Ordered for Sum<i8>
impl Ordered for Sum<isize>
impl Ordered for Sum<u128>
impl Ordered for Sum<u16>
impl Ordered for Sum<u32>
impl Ordered for Sum<u64>
impl Ordered for Sum<u8>
impl Ordered for Sum<usize>
impl<T> StructuralPartialEq for Sum<T>
Auto Trait Implementations§
impl<T> Freeze for Sum<T>
impl<T> RefUnwindSafe for Sum<T>where
T: RefUnwindSafe,
impl<T> Send for Sum<T>where
T: Send,
impl<T> Sync for Sum<T>where
T: Sync,
impl<T> Unpin for Sum<T>where
T: Unpin,
impl<T> UnwindSafe for Sum<T>where
T: 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