Searched refs:WrapInOptionIfNotRequired (Results 1 – 1 of 1) sorted by relevance
/external/flatbuffers/src/ |
D | idl_gen_rust.cpp | 170 std::string WrapInOptionIfNotRequired(std::string s, bool required) { in WrapInOptionIfNotRequired() function 991 return WrapInOptionIfNotRequired("&" + lifetime + " " + typname, field.required); in GenTableAccessorFuncReturnType() 995 return WrapInOptionIfNotRequired(typname + "<" + lifetime + ">", field.required); in GenTableAccessorFuncReturnType() 1004 return WrapInOptionIfNotRequired("flatbuffers::Table<" + lifetime + ">", field.required); in GenTableAccessorFuncReturnType() 1007 return WrapInOptionIfNotRequired("&" + lifetime + " str", field.required); in GenTableAccessorFuncReturnType() 1013 return WrapInOptionIfNotRequired("&" + lifetime + " [" + typname + "]", field.required); in GenTableAccessorFuncReturnType() 1015 …return WrapInOptionIfNotRequired("flatbuffers::Vector<" + lifetime + ", " + typname + ">", field.r… in GenTableAccessorFuncReturnType() 1018 return WrapInOptionIfNotRequired("&" + lifetime + " [bool]", field.required); in GenTableAccessorFuncReturnType() 1022 …return WrapInOptionIfNotRequired("flatbuffers::Vector<" + lifetime + ", " + typname + ">", field.r… in GenTableAccessorFuncReturnType() 1026 return WrapInOptionIfNotRequired("&" + lifetime + " [" + typname + "]", field.required); in GenTableAccessorFuncReturnType() [all …]
|