Home
last modified time | relevance | path

Searched defs:NumCast (Results 1 – 1 of 1) sorted by relevance

/third_party/rust/crates/num-traits/src/
Dcast.rs686 pub fn cast<T: NumCast, U: NumCast>(n: T) -> Option<U> { in cast()
691 pub trait NumCast: Sized + ToPrimitive { trait
709 impl NumCast for $T { impl