pub trait ActedMonoidWithSize: ActedMonoid {
// Provided method
fn e_with_size(_size: usize) -> Self::Val { ... }
}Expand description
長さを保持した作用付きモノイド
Provided Methods§
Sourcefn e_with_size(_size: usize) -> Self::Val
fn e_with_size(_size: usize) -> Self::Val
区間長 size の「単位区間」を表す集約値を返す
例:Val = (sum, size) のとき,e_with_size(size) = (0, size) のようなもの
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.