Searched defs:NumCast (Results 1 – 1 of 1) sorted by relevance
686 pub fn cast<T: NumCast, U: NumCast>(n: T) -> Option<U> { in cast()691 pub trait NumCast: Sized + ToPrimitive { trait709 impl NumCast for $T { impl