pub struct GCD<T>(/* private fields */);Expand description
GCDモノイド
Implementations§
Trait Implementations§
Source§impl BinaryOp for GCD<i128>
impl BinaryOp for GCD<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 GCD<i16>
impl BinaryOp for GCD<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 GCD<i32>
impl BinaryOp for GCD<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 GCD<i64>
impl BinaryOp for GCD<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 GCD<i8>
impl BinaryOp for GCD<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 GCD<isize>
impl BinaryOp for GCD<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 GCD<u128>
impl BinaryOp for GCD<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 GCD<u16>
impl BinaryOp for GCD<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 GCD<u32>
impl BinaryOp for GCD<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 GCD<u64>
impl BinaryOp for GCD<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 GCD<u8>
impl BinaryOp for GCD<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 GCD<usize>
impl BinaryOp for GCD<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 GCD<T>
impl<T: Ord> Ord for GCD<T>
Source§impl<T: PartialOrd> PartialOrd for GCD<T>
impl<T: PartialOrd> PartialOrd for GCD<T>
impl Associative for GCD<i128>
impl Associative for GCD<i16>
impl Associative for GCD<i32>
impl Associative for GCD<i64>
impl Associative for GCD<i8>
impl Associative for GCD<isize>
impl Associative for GCD<u128>
impl Associative for GCD<u16>
impl Associative for GCD<u32>
impl Associative for GCD<u64>
impl Associative for GCD<u8>
impl Associative for GCD<usize>
impl Commutative for GCD<i128>
impl Commutative for GCD<i16>
impl Commutative for GCD<i32>
impl Commutative for GCD<i64>
impl Commutative for GCD<i8>
impl Commutative for GCD<isize>
impl Commutative for GCD<u128>
impl Commutative for GCD<u16>
impl Commutative for GCD<u32>
impl Commutative for GCD<u64>
impl Commutative for GCD<u8>
impl Commutative for GCD<usize>
impl<T: Copy> Copy for GCD<T>
impl<T: Eq> Eq for GCD<T>
impl Idempotence for GCD<i128>
impl Idempotence for GCD<i16>
impl Idempotence for GCD<i32>
impl Idempotence for GCD<i64>
impl Idempotence for GCD<i8>
impl Idempotence for GCD<isize>
impl Idempotence for GCD<u128>
impl Idempotence for GCD<u16>
impl Idempotence for GCD<u32>
impl Idempotence for GCD<u64>
impl Idempotence for GCD<u8>
impl Idempotence for GCD<usize>
impl<T> StructuralPartialEq for GCD<T>
Auto Trait Implementations§
impl<T> Freeze for GCD<T>
impl<T> RefUnwindSafe for GCD<T>where
T: RefUnwindSafe,
impl<T> Send for GCD<T>where
T: Send,
impl<T> Sync for GCD<T>where
T: Sync,
impl<T> Unpin for GCD<T>where
T: Unpin,
impl<T> UnwindSafe for GCD<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