Lines Matching refs:to_u64
70 self.to_u64().as_ref().and_then(ToPrimitive::to_usize) in to_usize()
77 self.to_u64().as_ref().and_then(ToPrimitive::to_u8) in to_u8()
84 self.to_u64().as_ref().and_then(ToPrimitive::to_u16) in to_u16()
91 self.to_u64().as_ref().and_then(ToPrimitive::to_u32) in to_u32()
96 fn to_u64(&self) -> Option<u64>; in to_u64() method
109 self.to_u64().map(From::from) in to_u128()
131 None => self.to_u64().as_ref().and_then(ToPrimitive::to_f64), in to_f64()
185 fn to_u64 -> u64;
258 fn to_u64 -> u64;
385 fn to_u64 -> u64;
461 n.to_u64().and_then(FromPrimitive::from_u64) in from_usize()
499 n.to_u64().and_then(FromPrimitive::from_u64) in from_u128()
519 None => n.to_u64().and_then(FromPrimitive::from_u64), in from_f64()
603 impl_from_primitive!(u64, to_u64);
633 fn to_u64 -> u64;
724 impl_num_cast!(u64, to_u64);