Searched refs:to_u8 (Results 1 – 12 of 12) sorted by relevance
76 fn to_u8(&self) -> Option<u8> { in to_u8() method77 self.to_u64().as_ref().and_then(ToPrimitive::to_u8) in to_u8()182 fn to_u8 -> u8;255 fn to_u8 -> u8;382 fn to_u8 -> u8;600 impl_from_primitive!(u8, to_u8);630 fn to_u8 -> u8;721 impl_num_cast!(u8, to_u8);
32 REPORTER_ASSERT(r, x == SkFixed15::FromU8(x).to_u8()); in DEF_TEST()
35 uint8_t to_u8() const { in to_u8() function
43 assert_eq!(i.to_u8(), w.to_u8()); in wrapping_to_primitive()388 assert_eq_to!(to_u8 to_u16 to_u32 to_u64 to_usize); in newtype_to_primitive()
468 fn to_u8(&self) -> Option<u8> { in to_primitive()469 <#inner_ty as #import::ToPrimitive>::to_u8(&self.0) in to_primitive()
663 fn to_u8(&self) -> Option<u8> { in to_u8() method664 Self::to_f32(*self).to_u8() in to_u8()
51 fn to_u8(&self) -> Option<u8> { in to_u8() method52 Self::to_f32(*self).to_u8() in to_u8()
364 pub fn to_u8(&self) -> Result<DenseDFA<Vec<u8>, u8>> { in to_u8() method2276 assert!(dfa.to_u8().is_err()); in errors_when_converting_to_smaller_dfa()
260 pub fn to_u8(&self) -> Result<SparseDFA<Vec<u8>, u8>> { in to_u8() method
1861 fn to_u8() { in to_u8() function