Searched defs:checked_cast (Results 1 – 6 of 6) sorted by relevance
44 pub fn checked_cast<'other_local>( in checked_cast() method90 pub fn checked_cast<'other_local>( in checked_cast() method
45 pub fn checked_cast<'other_local>( in checked_cast() method
162 fn checked_cast<T: NumCast>(self) -> Size2D<T, U>; in checked_cast() method169 fn checked_cast<NewT: NumCast>(self) -> Size2D<NewT, U> { in checked_cast() function
35 inline constexpr Dst checked_cast(Src value) { in checked_cast() function
97 template<typename T, typename U> T checked_cast(U from) { U::error; } in checked_cast() function
702 fn checked_cast<T: TrbCast>(&self) -> Result<&T> { in checked_cast() method