1 // Casing inherited from PDL 2 #![allow(non_snake_case)] 3 #![allow(non_camel_case_types)] 4 #![allow(warnings, missing_docs)] 5 #![allow(clippy::all)] 6 // this is now stable 7 #![feature(mixed_integer_ops)] 8 9 include!(concat!(env!("OUT_DIR"), "/_packets.rs")); 10 11 impl std::cmp::PartialEq for SerializeError { eq(&self, rhs: &Self) -> bool12 fn eq(&self, rhs: &Self) -> bool { 13 std::mem::discriminant(self) == std::mem::discriminant(rhs) 14 } 15 } 16