/// Helper used for the `caml_serialize_default_impls` macro
Helper used for the `caml_serialize_default_impls` macro
Helper used for the ` caml_serialize_default_impls ` macro
pub fn operations_helper<T: CamlSerialize>() -> CustomOperations {
    let type_identifier = <T as CamlSerialize>::type_identifier();
    let mut ops = CustomOperations::new(type_identifier);
    ops.finalize = Some(drop_value::<T>);
    ops.serialize = Some(serialize_value::<T>);
    ops.deserialize = Some(deserialize_value::<T>);
    ops
}
pub fn operations_helper < T : CamlSerialize > ( ) -> CustomOperations { let type_identifier = < T as CamlSerialize > :: type_identifier ( ) ; let mut ops = CustomOperations :: new ( type_identifier ) ; ops . finalize = Some ( drop_value :: < T > ) ; ops . serialize = Some ( serialize_value :: < T > ) ; ops . deserialize = Some ( deserialize_value :: < T > ) ; ops }
Helper used for the `caml_serialize_default_impls` macro
Helper used for the ` caml_serialize_default_impls ` macro