Trait TruncateTarget

pub trait TruncateTarget<Target>

Definitions of traits for numeric types Trait for types that this type can be truncated to

Required Methods

fn internal_truncate(self) -> Target
fn internal_saturating_truncate(self) -> Target
fn internal_checked_truncate(self) -> Option<Target>

Implementors