Searched refs:to_i8 (Results 1 – 5 of 5) sorted by relevance
30 fn to_i8(&self) -> Option<i8> { in to_i8() method31 self.to_i64().as_ref().and_then(ToPrimitive::to_i8) in to_i8()172 fn to_i8 -> i8;245 fn to_i8 -> i8;372 fn to_i8 -> i8;593 impl_from_primitive!(i8, to_i8);622 fn to_i8 -> i8;728 impl_num_cast!(i8, to_i8);
48 assert_eq!(i.to_i8(), w.to_i8()); in wrapping_to_primitive()387 assert_eq_to!(to_i8 to_i16 to_i32 to_i64 to_isize); in newtype_to_primitive()
448 fn to_i8(&self) -> Option<i8> { in to_primitive()449 <#inner_ty as #import::ToPrimitive>::to_i8(&self.0) in to_primitive()
660 fn to_i8(&self) -> Option<i8> { in to_i8() method661 Self::to_f32(*self).to_i8() in to_i8()
48 fn to_i8(&self) -> Option<i8> { in to_i8() method49 Self::to_f32(*self).to_i8() in to_i8()