/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // @generated by enums.py package com.facebook.yoga public enum class YogaMeasureMode(public val intValue: Int) { UNDEFINED(0), EXACTLY(1), AT_MOST(2); public fun intValue(): Int = intValue public companion object { @JvmStatic public fun fromInt(value: Int): YogaMeasureMode = when (value) { 0 -> UNDEFINED 1 -> EXACTLY 2 -> AT_MOST else -> throw IllegalArgumentException("Unknown enum value: $value") } } }