| [TOC] |
| |
| # fidl.test.constants |
| |
| |
| |
| |
| ## **STRUCTS** |
| |
| ### Struct {#Struct} |
| *Defined in [fidl.test.constants/constants.test.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#41)* |
| |
| |
| |
| <table> |
| <tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th></tr><tr id="Struct.int64_with_default"> |
| <td><code>int64_with_default</code></td> |
| <td> |
| <code>int64</code> |
| </td> |
| <td></td> |
| <td>7</td> |
| </tr><tr id="Struct.string_with_default"> |
| <td><code>string_with_default</code></td> |
| <td> |
| <code>string</code> |
| </td> |
| <td></td> |
| <td>stuff</td> |
| </tr><tr id="Struct.bool_with_default"> |
| <td><code>bool_with_default</code></td> |
| <td> |
| <code>bool</code> |
| </td> |
| <td></td> |
| <td>true</td> |
| </tr><tr id="Struct.enum_with_default"> |
| <td><code>enum_with_default</code></td> |
| <td> |
| <code><a class='link' href='#Enum'>Enum</a></code> |
| </td> |
| <td></td> |
| <td><a class='link' href='#Enum.E'>Enum.E</a></td> |
| </tr><tr id="Struct.bits_with_default"> |
| <td><code>bits_with_default</code></td> |
| <td> |
| <code><a class='link' href='#Bits'>Bits</a></code> |
| </td> |
| <td></td> |
| <td><a class='link' href='#Bits.B'>Bits.B</a></td> |
| </tr> |
| </table> |
| |
| |
| |
| ## **ENUMS** |
| |
| ### Enum {#Enum} |
| Type: <code>uint32</code> |
| |
| *Defined in [fidl.test.constants/constants.test.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#33)* |
| |
| |
| |
| <table> |
| <tr><th>Name</th><th>Value</th><th>Description</th></tr><tr id="Enum.E"> |
| <td><code>E</code></td> |
| <td><code>170</code></td> |
| <td></td> |
| </tr></table> |
| |
| ### EnumType {#EnumType} |
| Type: <code>int32</code> |
| |
| *Defined in [fidl.test.constants/constants.test.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#16)* |
| |
| |
| |
| <table> |
| <tr><th>Name</th><th>Value</th><th>Description</th></tr><tr id="EnumType.VALUE"> |
| <td><code>VALUE</code></td> |
| <td><code>1</code></td> |
| <td></td> |
| </tr></table> |
| |
| |
| |
| |
| |
| |
| |
| ## **BITS** |
| |
| ### Bits {#Bits} |
| Type: <code>uint32</code> |
| |
| *Defined in [fidl.test.constants/constants.test.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#37)* |
| |
| |
| |
| <table> |
| <tr><th>Name</th><th>Value</th><th>Description</th></tr><tr id="Bits.B"> |
| <td>B</td> |
| <td>8</td> |
| <td></td> |
| </tr></table> |
| |
| ### BitsType {#BitsType} |
| Type: <code>uint32</code> |
| |
| *Defined in [fidl.test.constants/constants.test.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#22)* |
| |
| |
| |
| <table> |
| <tr><th>Name</th><th>Value</th><th>Description</th></tr><tr id="BitsType.VALUE"> |
| <td>VALUE</td> |
| <td>1</td> |
| <td></td> |
| </tr><tr id="BitsType.SECOND_VALUE"> |
| <td>SECOND_VALUE</td> |
| <td>128</td> |
| <td></td> |
| </tr><tr id="BitsType.THIRD_VALUE"> |
| <td>THIRD_VALUE</td> |
| <td>2</td> |
| <td></td> |
| </tr></table> |
| |
| |
| |
| ## **CONSTANTS** |
| |
| <table> |
| <tr><th>Name</th><th>Value</th><th>Type</th><th>Description</th></tr><tr id="BOOL"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#13">BOOL</a></td> |
| <td> |
| <code>true</code> |
| </td> |
| <td><code>bool</code></td> |
| <td></td> |
| </tr> |
| <tr id="FLOAT32"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#11">FLOAT32</a></td> |
| <td> |
| <code>3.14159</code> |
| </td> |
| <td><code>float32</code></td> |
| <td></td> |
| </tr> |
| <tr id="FLOAT64"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#12">FLOAT64</a></td> |
| <td> |
| <code>3.14159</code> |
| </td> |
| <td><code>float64</code></td> |
| <td></td> |
| </tr> |
| <tr id="INT16"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#8">INT16</a></td> |
| <td> |
| <code>4</code> |
| </td> |
| <td><code>int16</code></td> |
| <td></td> |
| </tr> |
| <tr id="INT32"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#9">INT32</a></td> |
| <td> |
| <code>4</code> |
| </td> |
| <td><code>int32</code></td> |
| <td></td> |
| </tr> |
| <tr id="INT64"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#10">INT64</a></td> |
| <td> |
| <code>4</code> |
| </td> |
| <td><code>int64</code></td> |
| <td></td> |
| </tr> |
| <tr id="INT8"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#7">INT8</a></td> |
| <td> |
| <code>4</code> |
| </td> |
| <td><code>int8</code></td> |
| <td></td> |
| </tr> |
| <tr id="STRING"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#14">STRING</a></td> |
| <td><code>string</code></td> |
| <td><code>String</code></td> |
| <td></td> |
| </tr> |
| <tr id="UINT16"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#4">UINT16</a></td> |
| <td> |
| <code>4</code> |
| </td> |
| <td><code>uint16</code></td> |
| <td></td> |
| </tr> |
| <tr id="UINT32"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#5">UINT32</a></td> |
| <td> |
| <code>4</code> |
| </td> |
| <td><code>uint32</code></td> |
| <td></td> |
| </tr> |
| <tr id="UINT64"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#6">UINT64</a></td> |
| <td> |
| <code>4</code> |
| </td> |
| <td><code>uint64</code></td> |
| <td></td> |
| </tr> |
| <tr id="UINT8"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#3">UINT8</a></td> |
| <td> |
| <code>4</code> |
| </td> |
| <td><code>uint8</code></td> |
| <td></td> |
| </tr> |
| <tr id="bitsPrimitiveVal"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#28">bitsPrimitiveVal</a></td> |
| <td> |
| <code><a class='link' href='#BitsType.VALUE'>BitsType.VALUE</a></code> |
| </td> |
| <td><code>int32</code></td> |
| <td></td> |
| </tr> |
| <tr id="bitsVal"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#27">bitsVal</a></td> |
| |
| <td></td> |
| </tr> |
| <tr id="enumPrimitiveVal"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#20">enumPrimitiveVal</a></td> |
| <td> |
| <code><a class='link' href='#EnumType.VALUE'>EnumType.VALUE</a></code> |
| </td> |
| <td><code>int32</code></td> |
| <td></td> |
| </tr> |
| <tr id="enumVal"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#19">enumVal</a></td> |
| |
| <td></td> |
| </tr> |
| <tr id="orResult"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#30">orResult</a></td> |
| |
| <td></td> |
| </tr> |
| <tr id="orResultPrimitiveVal"> |
| <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/zircon/tools/fidl/testdata/constants.test.fidl#31">orResultPrimitiveVal</a></td> |
| <td> |
| <code></code> |
| </td> |
| <td><code>int32</code></td> |
| <td></td> |
| </tr> |
| |
| </table> |
| |
| |
| |