Searched refs:to_u16 (Results 1 – 11 of 11) sorted by relevance
98 pub fn to_u16(self) -> u16 { in to_u16() method132 let to = from.to_u16() as u32; in from_eq_to()155 let to = method.to_u16(); in to_eq_from()159 let back = from.to_u16(); in to_eq_from()
633 writer.write_u16::<LittleEndian>(file.compression_method.to_u16())?; in write_local_file_header()685 writer.write_u16::<LittleEndian>(file.compression_method.to_u16())?; in write_central_directory_header()
131 re.forward().to_u16().unwrap(), in u16()132 re.reverse().to_u16().unwrap(), in u16()176 let fwd = re.forward().to_sparse().unwrap().to_u16().unwrap(); in sparse_u16()177 let rev = re.reverse().to_sparse().unwrap().to_u16().unwrap(); in sparse_u16()
83 fn to_u16(&self) -> Option<u16> { in to_u16() method84 self.to_u64().as_ref().and_then(ToPrimitive::to_u16) in to_u16()183 fn to_u16 -> u16;256 fn to_u16 -> u16;383 fn to_u16 -> u16;601 impl_from_primitive!(u16, to_u16);631 fn to_u16 -> u16;722 impl_num_cast!(u16, to_u16);
44 assert_eq!(i.to_u16(), w.to_u16()); in wrapping_to_primitive()388 assert_eq_to!(to_u8 to_u16 to_u32 to_u64 to_usize); in newtype_to_primitive()
472 fn to_u16(&self) -> Option<u16> { in to_primitive()473 <#inner_ty as #import::ToPrimitive>::to_u16(&self.0) in to_primitive()
669 fn to_u16(&self) -> Option<u16> { in to_u16() method670 Self::to_f32(*self).to_u16() in to_u16()
57 fn to_u16(&self) -> Option<u16> { in to_u16() method58 Self::to_f32(*self).to_u16() in to_u16()
270 pub fn to_u16(&self) -> Result<SparseDFA<Vec<u8>, u16>> { in to_u16() method
374 pub fn to_u16(&self) -> Result<DenseDFA<Vec<u16>, u16>> { in to_u16() method
1868 fn to_u16() { in to_u16() function