pub trait PrefixSumValue: Clone {
// Required methods
fn zero() -> Self;
fn add_assign(&mut self, rhs: &Self);
fn sub_assign(&mut self, rhs: &Self);
}Expand description
Prefix sum の要素型です。
Required Methods§
fn zero() -> Self
fn add_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".