Searched refs:from_i64 (Results 1 – 2 of 2) sorted by relevance
416 n.to_i64().and_then(FromPrimitive::from_i64) in from_isize()423 FromPrimitive::from_i64(From::from(n)) in from_i8()430 FromPrimitive::from_i64(From::from(n)) in from_i16()437 FromPrimitive::from_i64(From::from(n)) in from_i32()442 fn from_i64(n: i64) -> Option<Self>; in from_i64() method454 n.to_i64().and_then(FromPrimitive::from_i64) in from_i128()518 Some(i) => FromPrimitive::from_i64(i), in from_f64()545 fn from_i64(n: i64) -> Option<$T> {658 fn from_i64(i64);
330 fn from_i64(n: i64) -> Option<Self> { in newtype_from_primitive() method331 T::from_i64(n).map(New) in newtype_from_primitive()349 assert_eq_from!(from_i8 from_i16 from_i32 from_i64 from_isize); in newtype_from_primitive()