Trait TryMul

Source
pub trait TryMul<Rhs = Self> {
    type Output;

    // Required method
    fn try_mul(self, rhs: Rhs) -> Option<Self::Output>;
}
Expand description

失敗可能性のある掛け算を表す。

Required Associated Types§

Source

type Output

返り値の型

Required Methods§

Source

fn try_mul(self, rhs: Rhs) -> Option<Self::Output>

失敗可能性のある掛け算を行う。

Implementors§