Home
last modified time | relevance | path

Searched refs:to_i8 (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/num-traits/src/
Dcast.rs30 fn to_i8(&self) -> Option<i8> { in to_i8() method
31 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);
/external/rust/crates/num-traits/tests/
Dcast.rs48 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()
/external/rust/crates/num-derive/src/
Dlib.rs448 fn to_i8(&self) -> Option<i8> { in to_primitive()
449 <#inner_ty as #import::ToPrimitive>::to_i8(&self.0) in to_primitive()
/external/rust/crates/half/src/
Dbfloat.rs660 fn to_i8(&self) -> Option<i8> { in to_i8() method
661 Self::to_f32(*self).to_i8() in to_i8()
Dbinary16.rs48 fn to_i8(&self) -> Option<i8> { in to_i8() method
49 Self::to_f32(*self).to_i8() in to_i8()