Constant librsnek::system::primitives::_IMPL_SERIALIZE_FOR_FuncType [] [src]

const _IMPL_SERIALIZE_FOR_FuncType: () = {
    extern crate serde as _serde;
    #[automatically_derived]
    impl _serde::Serialize for FuncType {
        fn serialize<__S>(self: &Self, __serializer: __S)
         -> _serde::export::Result<<__S>::Ok, <__S>::Error> where
         __S: _serde::Serializer {
                                     match *self {
                                         FuncType::Wrapper(..) =>
                                         _serde::export::Err(_serde::ser::Error::custom("the enum variant FuncType::Wrapper cannot be serialized")),
                                         FuncType::MethodWrapper(..) =>
                                         _serde::export::Err(_serde::ser::Error::custom("the enum variant FuncType::MethodWrapper cannot be serialized")),
                                         FuncType::Code(ref __field0) =>
                                         _serde::Serializer::serialize_newtype_variant(__serializer,
                                                                                       "FuncType",
                                                                                       2u32,
                                                                                       "Code",
                                                                                       __field0),
                                     }
                                 }
    }
}