blob: 0f8a9c87bb3acae1e2e468700d6539f58dfdaefa [file] [log] [blame]
<link rel="stylesheet" href="../style.css" />
[TOC]
# test.handlesintypes
## **STRUCTS**
### HandlesInTypes [resource](/fuchsia-src/reference/fidl/language/language.md#value-vs-resource){:.fidl-attribute} {#HandlesInTypes data-text="HandlesInTypes"}
*Defined in [test.handlesintypes/handles_in_types.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/handles_in_types.test.fidl;l=25)*
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="HandlesInTypes.normal_handle">
<td><code>normal_handle</code></td>
<td>
<code>handle&lt;vmo&gt;</code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="HandlesInTypes.handle_in_vec">
<td><code>handle_in_vec</code></td>
<td>
<code>vector&lt;vmo&gt;</code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="HandlesInTypes.handle_in_array">
<td><code>handle_in_array</code></td>
<td>
<code>vmo[5]</code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="HandlesInTypes.handle_in_mixed_vec_array">
<td><code>handle_in_mixed_vec_array</code></td>
<td>
<code>vector&lt;array&gt;</code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="HandlesInTypes.table_with_handle">
<td><code>table_with_handle</code></td>
<td>
<code><a class='link' href='#TableWithHandle'>TableWithHandle</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="HandlesInTypes.union_with_handle">
<td><code>union_with_handle</code></td>
<td>
<code><a class='link' href='#UnionWithHandle'>UnionWithHandle</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
</table>
## **ENUMS**
### obj_type [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#obj_type data-text="obj_type"}
Type: <code>uint32</code>
*Defined in [test.handlesintypes/handles_in_types.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/handles_in_types.test.fidl;l=6)*
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="obj_type.NONE">
<td><h3 id="obj_type.NONE" class="add-link hide-from-toc">NONE</h3></td>
<td><code>0</code></td>
<td></td>
</tr>
<tr id="obj_type.VMO">
<td><h3 id="obj_type.VMO" class="add-link hide-from-toc">VMO</h3></td>
<td><code>3</code></td>
<td></td>
</tr>
</table>
## **TABLES**
### TableWithHandle [resource](/fuchsia-src/reference/fidl/language/language.md#value-vs-resource){:.fidl-attribute} {#TableWithHandle data-text="TableWithHandle"}
*Defined in [test.handlesintypes/handles_in_types.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/handles_in_types.test.fidl;l=17)*
<table>
<tr><th>Ordinal</th><th>Field</th><th>Type</th><th>Description</th></tr>
<tr id="TableWithHandle.h">
<td><h3 id="TableWithHandle.h" class="add-link hide-from-toc">1</h3></td>
<td><code>h</code></td>
<td>
<code>handle&lt;vmo&gt;</code>
</td>
<td></td>
</tr>
</table>
## **UNIONS**
### UnionWithHandle [flexible](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} [resource](/fuchsia-src/reference/fidl/language/language.md#value-vs-resource){:.fidl-attribute} {#UnionWithHandle data-text="UnionWithHandle"}
*Defined in [test.handlesintypes/handles_in_types.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/handles_in_types.test.fidl;l=21)*
<table>
<tr><th>Ordinal</th><th>Variant</th><th>Type</th><th>Description</th></tr>
<tr id="UnionWithHandle.h">
<td><h3 id="UnionWithHandle.h" class="add-link hide-from-toc">1</h3></td>
<td><code>h</code></td>
<td>
<code>handle&lt;vmo&gt;</code>
</td>
<td></td>
</tr>
</table>