Searched refs:to_i64 (Results 1 – 8 of 8) sorted by relevance
24 self.to_i64().as_ref().and_then(ToPrimitive::to_isize) in to_isize()31 self.to_i64().as_ref().and_then(ToPrimitive::to_i8) in to_i8()38 self.to_i64().as_ref().and_then(ToPrimitive::to_i16) in to_i16()45 self.to_i64().as_ref().and_then(ToPrimitive::to_i32) in to_i32()50 fn to_i64(&self) -> Option<i64>; in to_i64() method63 self.to_i64().map(From::from) in to_i128()129 match self.to_i64() { in to_f64()175 fn to_i64 -> i64;248 fn to_i64 -> i64;375 fn to_i64 -> i64;[all …]
51 assert_eq!(i.to_i64(), w.to_i64()); in wrapping_to_primitive()368 fn to_i64(&self) -> Option<i64> { in newtype_to_primitive() method369 self.0.to_i64() in newtype_to_primitive()387 assert_eq_to!(to_i8 to_i16 to_i32 to_i64 to_isize); in newtype_to_primitive()
17 assert!(SomeEnum::A.to_i64().is_some()); in test_unused_qualifications()
392 to_i64 -> i64,570 assert!(v.to_i64().is_some()); in test_to_number()574 assert!(v.to_i64().is_some()); in test_to_number()583 assert!(v.to_i64().is_none()); in test_to_number()
234 fn to_i64(&self) -> &'static str { in to_i64() method310 src.push_str(&format!("let output = output{};", ty.to_i64())); in generate_test_outputs()318 ret.to_i64(), in generate_test_outputs()
436 fn to_i64(&self) -> Option<i64> { in to_primitive()437 <#inner_ty as #import::ToPrimitive>::to_i64(&self.0) in to_primitive()537 fn to_i64(&self) -> Option<i64> { in to_primitive()543 self.to_i64().map(|x| x as u64) in to_primitive()
654 fn to_i64(&self) -> Option<i64> { in to_i64() method655 Self::to_f32(*self).to_i64() in to_i64()
42 fn to_i64(&self) -> Option<i64> { in to_i64() method43 Self::to_f32(*self).to_i64() in to_i64()