pub struct MinCount<T, U>(/* private fields */);Expand description
最小値とその個数の総和
Implementations§
Trait Implementations§
Source§impl<T, U, A> Act<MinCount<T, U>> for AddMinCount<A>
impl<T, U, A> Act<MinCount<T, U>> for AddMinCount<A>
Source§impl<T: Ord, U: Add<Output = U>> BinaryOp for MinCount<T, U>
impl<T: Ord, U: Add<Output = U>> BinaryOp for MinCount<T, U>
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$)をする。
impl<T, U> Associative for MinCount<T, U>
impl<T, U> Commutative for MinCount<T, U>
impl<T: Copy, U: Copy> Copy for MinCount<T, U>
impl<T: Eq, U: Eq> Eq for MinCount<T, U>
impl<T, U> StructuralPartialEq for MinCount<T, U>
Auto Trait Implementations§
impl<T, U> Freeze for MinCount<T, U>
impl<T, U> RefUnwindSafe for MinCount<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for MinCount<T, U>
impl<T, U> Sync for MinCount<T, U>
impl<T, U> Unpin for MinCount<T, U>
impl<T, U> UnwindSafe for MinCount<T, U>where
T: UnwindSafe,
U: 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