// Code generated by "stringer -type=renditionAttributeType,renditionLayoutType,resourceID,compressionType -output=car_string.go ."; DO NOT EDIT. package car import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[ThemeLook-0] _ = x[Element-1] _ = x[Part-2] _ = x[Size-3] _ = x[Direction-4] _ = x[Placeholder-5] _ = x[Value-6] _ = x[ThemeAppearance-7] _ = x[Dimension1-8] _ = x[Dimension2-9] _ = x[State-10] _ = x[Layer-11] _ = x[Scale-12] _ = x[Localization-13] _ = x[PresentationState-14] _ = x[Idiom-15] _ = x[Subtype-16] _ = x[Identifier-17] _ = x[PreviousValue-18] _ = x[PreviousState-19] _ = x[HorizontalSizeClass-20] _ = x[VerticalSizeClass-21] _ = x[MemoryLevelClass-22] _ = x[GraphicsFeatureSetClass-23] _ = x[DisplayGamut-24] _ = x[DeploymentTarget-25] _ = x[GlyphWeight-26] _ = x[GlyphSize-27] } const _renditionAttributeType_name = "ThemeLookElementPartSizeDirectionPlaceholderValueThemeAppearanceDimension1Dimension2StateLayerScaleLocalizationPresentationStateIdiomSubtypeIdentifierPreviousValuePreviousStateHorizontalSizeClassVerticalSizeClassMemoryLevelClassGraphicsFeatureSetClassDisplayGamutDeploymentTargetGlyphWeightGlyphSize" var _renditionAttributeType_index = [...]uint16{0, 9, 16, 20, 24, 33, 44, 49, 64, 74, 84, 89, 94, 99, 111, 128, 133, 140, 150, 163, 176, 195, 212, 228, 251, 263, 279, 290, 299} func (i renditionAttributeType) String() string { idx := int(i) - 0 if i < 0 || idx >= len(_renditionAttributeType_index)-1 { return "renditionAttributeType(" + strconv.FormatInt(int64(i), 10) + ")" } return _renditionAttributeType_name[_renditionAttributeType_index[idx]:_renditionAttributeType_index[idx+1]] } func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[OnePart-0] _ = x[ThreePartHorizontal-1] _ = x[ThreePartVertical-2] _ = x[NinePart-3] _ = x[TwelvePart-4] _ = x[ManyPart-5] _ = x[Gradient-6] _ = x[Effect-7] _ = x[Animation-8] _ = x[Vector-9] _ = x[IconImage-12] _ = x[Unknown-20] _ = x[RawData-1000] _ = x[ExternalLink-1001] _ = x[ImageStack-1002] _ = x[InternalLink-1003] _ = x[PackedImage-1004] _ = x[NamedContents-1005] _ = x[ThinningPlaceholder-1006] _ = x[TextureRendition-1007] _ = x[TextureImage-1008] _ = x[Color-1009] _ = x[MultiSizeImageSet-1010] _ = x[ModelIOAsset-1011] _ = x[ModelMesh-1012] _ = x[RecognitionGroup-1013] _ = x[RecognitionObject-1014] _ = x[ModelIOSubmesh-1016] _ = x[VectorGlyph-1017] _ = x[SolidImageStack-1018] _ = x[IconImageStack-1019] _ = x[IconGroup-1020] _ = x[NamedGradient-1021] } const ( _renditionLayoutType_name_0 = "OnePartThreePartHorizontalThreePartVerticalNinePartTwelvePartManyPartGradientEffectAnimationVector" _renditionLayoutType_name_1 = "IconImage" _renditionLayoutType_name_2 = "Unknown" _renditionLayoutType_name_3 = "RawDataExternalLinkImageStackInternalLinkPackedImageNamedContentsThinningPlaceholderTextureRenditionTextureImageColorMultiSizeImageSetModelIOAssetModelMeshRecognitionGroupRecognitionObject" _renditionLayoutType_name_4 = "ModelIOSubmeshVectorGlyphSolidImageStackIconImageStackIconGroupNamedGradient" ) var ( _renditionLayoutType_index_0 = [...]uint8{0, 7, 26, 43, 51, 61, 69, 77, 83, 92, 98} _renditionLayoutType_index_3 = [...]uint8{0, 7, 19, 29, 41, 52, 65, 84, 100, 112, 117, 134, 146, 155, 171, 188} _renditionLayoutType_index_4 = [...]uint8{0, 14, 25, 40, 54, 63, 76} ) func (i renditionLayoutType) String() string { switch { case i <= 9: return _renditionLayoutType_name_0[_renditionLayoutType_index_0[i]:_renditionLayoutType_index_0[i+1]] case i == 12: return _renditionLayoutType_name_1 case i == 20: return _renditionLayoutType_name_2 case 1000 <= i && i <= 1014: i -= 1000 return _renditionLayoutType_name_3[_renditionLayoutType_index_3[i]:_renditionLayoutType_index_3[i+1]] case 1016 <= i && i <= 1021: i -= 1016 return _renditionLayoutType_name_4[_renditionLayoutType_index_4[i]:_renditionLayoutType_index_4[i+1]] default: return "renditionLayoutType(" + strconv.FormatInt(int64(i), 10) + ")" } } func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[SliceID-1001] _ = x[SampleID-1002] _ = x[MetricsID-1003] _ = x[CompositingOptionsID-1004] _ = x[MetaDataID-1005] _ = x[MetaDataEXIFOrientationID-1006] _ = x[ImageRowBytesID-1007] _ = x[ExternalLinkID-1008] _ = x[LayerReferenceDeprecatedID-1009] _ = x[InternalLinkID-1010] _ = x[AlphaCroppingID-1011] _ = x[LayerReferenceID-1012] _ = x[PackedNamesID-1013] _ = x[TextureInterpretationID-1014] _ = x[PhysicalSizeID-1015] _ = x[RenditionPropertyID-1016] _ = x[TransformationID-1017] } const _resourceID_name = "SliceIDSampleIDMetricsIDCompositingOptionsIDMetaDataIDMetaDataEXIFOrientationIDImageRowBytesIDExternalLinkIDLayerReferenceDeprecatedIDInternalLinkIDAlphaCroppingIDLayerReferenceIDPackedNamesIDTextureInterpretationIDPhysicalSizeIDRenditionPropertyIDTransformationID" var _resourceID_index = [...]uint16{0, 7, 15, 24, 44, 54, 79, 94, 108, 134, 148, 163, 179, 192, 215, 229, 248, 264} func (i resourceID) String() string { idx := int(i) - 1001 if i < 1001 || idx >= len(_resourceID_index)-1 { return "resourceID(" + strconv.FormatInt(int64(i), 10) + ")" } return _resourceID_name[_resourceID_index[idx]:_resourceID_index[idx+1]] } func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[Uncompressed-0] _ = x[RLE-1] _ = x[ZIP-2] _ = x[LZVN-3] _ = x[LZFSE-4] _ = x[JPEGLZFSE-5] _ = x[BlurredImage-6] _ = x[ASTCImage-7] _ = x[PaletteImage-8] _ = x[HEVC-9] _ = x[DeepmapLZFSE-10] _ = x[Deepmap2-11] _ = x[DXTC-12] } const _compressionType_name = "UncompressedRLEZIPLZVNLZFSEJPEGLZFSEBlurredImageASTCImagePaletteImageHEVCDeepmapLZFSEDeepmap2DXTC" var _compressionType_index = [...]uint8{0, 12, 15, 18, 22, 27, 36, 48, 57, 69, 73, 85, 93, 97} func (i compressionType) String() string { idx := int(i) - 0 if i < 0 || idx >= len(_compressionType_index)-1 { return "compressionType(" + strconv.FormatInt(int64(i), 10) + ")" } return _compressionType_name[_compressionType_index[idx]:_compressionType_index[idx+1]] }