Trait scrypto::math::CheckedTruncate
source · pub trait CheckedTruncate<T> {
type Output;
// Required method
fn checked_truncate(self, mode: RoundingMode) -> Option<Self::Output>;
}
pub trait CheckedTruncate<T> {
type Output;
// Required method
fn checked_truncate(self, mode: RoundingMode) -> Option<Self::Output>;
}