enum.Status.html 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="generator" content="rustdoc">
  7. <meta name="description" content="API documentation for the Rust `Status` enum in crate `ocl_core`.">
  8. <meta name="keywords" content="rust, rustlang, rust-lang, Status">
  9. <title>ocl_core::Status - Rust</title>
  10. <link rel="stylesheet" type="text/css" href="../normalize.css">
  11. <link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle">
  12. <link rel="stylesheet" type="text/css" href="../dark.css">
  13. <link rel="stylesheet" type="text/css" href="../main.css" id="themeStyle">
  14. <script src="../storage.js"></script>
  15. </head>
  16. <body class="rustdoc enum">
  17. <!--[if lte IE 8]>
  18. <div class="warning">
  19. This old browser is unsupported and will most likely display funky
  20. things.
  21. </div>
  22. <![endif]-->
  23. <nav class="sidebar">
  24. <div class="sidebar-menu">&#9776;</div>
  25. <p class='location'>Enum Status</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.CL_SUCCESS">CL_SUCCESS</a><a href="#variant.CL_DEVICE_NOT_FOUND">CL_DEVICE_NOT_FOUND</a><a href="#variant.CL_DEVICE_NOT_AVAILABLE">CL_DEVICE_NOT_AVAILABLE</a><a href="#variant.CL_COMPILER_NOT_AVAILABLE">CL_COMPILER_NOT_AVAILABLE</a><a href="#variant.CL_MEM_OBJECT_ALLOCATION_FAILURE">CL_MEM_OBJECT_ALLOCATION_FAILURE</a><a href="#variant.CL_OUT_OF_RESOURCES">CL_OUT_OF_RESOURCES</a><a href="#variant.CL_OUT_OF_HOST_MEMORY">CL_OUT_OF_HOST_MEMORY</a><a href="#variant.CL_PROFILING_INFO_NOT_AVAILABLE">CL_PROFILING_INFO_NOT_AVAILABLE</a><a href="#variant.CL_MEM_COPY_OVERLAP">CL_MEM_COPY_OVERLAP</a><a href="#variant.CL_IMAGE_FORMAT_MISMATCH">CL_IMAGE_FORMAT_MISMATCH</a><a href="#variant.CL_IMAGE_FORMAT_NOT_SUPPORTED">CL_IMAGE_FORMAT_NOT_SUPPORTED</a><a href="#variant.CL_BUILD_PROGRAM_FAILURE">CL_BUILD_PROGRAM_FAILURE</a><a href="#variant.CL_MAP_FAILURE">CL_MAP_FAILURE</a><a href="#variant.CL_MISALIGNED_SUB_BUFFER_OFFSET">CL_MISALIGNED_SUB_BUFFER_OFFSET</a><a href="#variant.CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST">CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST</a><a href="#variant.CL_COMPILE_PROGRAM_FAILURE">CL_COMPILE_PROGRAM_FAILURE</a><a href="#variant.CL_LINKER_NOT_AVAILABLE">CL_LINKER_NOT_AVAILABLE</a><a href="#variant.CL_LINK_PROGRAM_FAILURE">CL_LINK_PROGRAM_FAILURE</a><a href="#variant.CL_DEVICE_PARTITION_FAILED">CL_DEVICE_PARTITION_FAILED</a><a href="#variant.CL_KERNEL_ARG_INFO_NOT_AVAILABLE">CL_KERNEL_ARG_INFO_NOT_AVAILABLE</a><a href="#variant.CL_INVALID_VALUE">CL_INVALID_VALUE</a><a href="#variant.CL_INVALID_DEVICE_TYPE">CL_INVALID_DEVICE_TYPE</a><a href="#variant.CL_INVALID_PLATFORM">CL_INVALID_PLATFORM</a><a href="#variant.CL_INVALID_DEVICE">CL_INVALID_DEVICE</a><a href="#variant.CL_INVALID_CONTEXT">CL_INVALID_CONTEXT</a><a href="#variant.CL_INVALID_QUEUE_PROPERTIES">CL_INVALID_QUEUE_PROPERTIES</a><a href="#variant.CL_INVALID_COMMAND_QUEUE">CL_INVALID_COMMAND_QUEUE</a><a href="#variant.CL_INVALID_HOST_PTR">CL_INVALID_HOST_PTR</a><a href="#variant.CL_INVALID_MEM_OBJECT">CL_INVALID_MEM_OBJECT</a><a href="#variant.CL_INVALID_IMAGE_FORMAT_DESCRIPTOR">CL_INVALID_IMAGE_FORMAT_DESCRIPTOR</a><a href="#variant.CL_INVALID_IMAGE_SIZE">CL_INVALID_IMAGE_SIZE</a><a href="#variant.CL_INVALID_SAMPLER">CL_INVALID_SAMPLER</a><a href="#variant.CL_INVALID_BINARY">CL_INVALID_BINARY</a><a href="#variant.CL_INVALID_BUILD_OPTIONS">CL_INVALID_BUILD_OPTIONS</a><a href="#variant.CL_INVALID_PROGRAM">CL_INVALID_PROGRAM</a><a href="#variant.CL_INVALID_PROGRAM_EXECUTABLE">CL_INVALID_PROGRAM_EXECUTABLE</a><a href="#variant.CL_INVALID_KERNEL_NAME">CL_INVALID_KERNEL_NAME</a><a href="#variant.CL_INVALID_KERNEL_DEFINITION">CL_INVALID_KERNEL_DEFINITION</a><a href="#variant.CL_INVALID_KERNEL">CL_INVALID_KERNEL</a><a href="#variant.CL_INVALID_ARG_INDEX">CL_INVALID_ARG_INDEX</a><a href="#variant.CL_INVALID_ARG_VALUE">CL_INVALID_ARG_VALUE</a><a href="#variant.CL_INVALID_ARG_SIZE">CL_INVALID_ARG_SIZE</a><a href="#variant.CL_INVALID_KERNEL_ARGS">CL_INVALID_KERNEL_ARGS</a><a href="#variant.CL_INVALID_WORK_DIMENSION">CL_INVALID_WORK_DIMENSION</a><a href="#variant.CL_INVALID_WORK_GROUP_SIZE">CL_INVALID_WORK_GROUP_SIZE</a><a href="#variant.CL_INVALID_WORK_ITEM_SIZE">CL_INVALID_WORK_ITEM_SIZE</a><a href="#variant.CL_INVALID_GLOBAL_OFFSET">CL_INVALID_GLOBAL_OFFSET</a><a href="#variant.CL_INVALID_EVENT_WAIT_LIST">CL_INVALID_EVENT_WAIT_LIST</a><a href="#variant.CL_INVALID_EVENT">CL_INVALID_EVENT</a><a href="#variant.CL_INVALID_OPERATION">CL_INVALID_OPERATION</a><a href="#variant.CL_INVALID_GL_OBJECT">CL_INVALID_GL_OBJECT</a><a href="#variant.CL_INVALID_BUFFER_SIZE">CL_INVALID_BUFFER_SIZE</a><a href="#variant.CL_INVALID_MIP_LEVEL">CL_INVALID_MIP_LEVEL</a><a href="#variant.CL_INVALID_GLOBAL_WORK_SIZE">CL_INVALID_GLOBAL_WORK_SIZE</a><a href="#variant.CL_INVALID_PROPERTY">CL_INVALID_PROPERTY</a><a href="#variant.CL_INVALID_IMAGE_DESCRIPTOR">CL_INVALID_IMAGE_DESCRIPTOR</a><a href="#variant.CL_INVALID_COMPILER_OPTIONS">CL_INVALID_COMPILER_OPTIONS</a><a href="#variant.CL_INVALID_LINKER_OPTIONS">CL_INVALID_LINKER_OPTIONS</a><a href="#variant.CL_INVALID_DEVICE_PARTITION_COUNT">CL_INVALID_DEVICE_PARTITION_COUNT</a><a href="#variant.CL_INVALID_PIPE_SIZE">CL_INVALID_PIPE_SIZE</a><a href="#variant.CL_INVALID_DEVICE_QUEUE">CL_INVALID_DEVICE_QUEUE</a><a href="#variant.CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR">CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR</a><a href="#variant.CL_PLATFORM_NOT_FOUND_KHR">CL_PLATFORM_NOT_FOUND_KHR</a><a href="#variant.CL_NV_INVALID_MEM_ACCESS">CL_NV_INVALID_MEM_ACCESS</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-PartialEq">PartialEq</a><a href="#impl-Eq">Eq</a><a href="#impl-Hash">Hash</a><a href="#impl-FromPrimitive">FromPrimitive</a><a href="#impl-Display">Display</a></div></div><p class='location'><a href='index.html'>ocl_core</a></p><script>window.sidebarCurrent = {name: 'Status', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div>
  26. </nav>
  27. <div class="theme-picker">
  28. <button id="theme-picker" aria-label="Pick another theme!">
  29. <img src="../brush.svg" width="18" alt="Pick another theme!">
  30. </button>
  31. <div id="theme-choices"></div>
  32. </div>
  33. <script src="../theme.js"></script>
  34. <nav class="sub">
  35. <form class="search-form js-only">
  36. <div class="search-container">
  37. <input class="search-input" name="search"
  38. autocomplete="off"
  39. placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
  40. type="search">
  41. </div>
  42. </form>
  43. </nav>
  44. <section id='main' class="content">
  45. <h1 class='fqn'><span class='in-band'>Enum <a href='index.html'>ocl_core</a>::<wbr><a class="enum" href=''>Status</a></span><span class='out-of-band'><span id='render-detail'>
  46. <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
  47. [<span class='inner'>&#x2212;</span>]
  48. </a>
  49. </span></span></h1>
  50. <pre class='rust enum'><div class="docblock attributes">#[repr(C)]
  51. </div>pub enum Status {
  52. CL_SUCCESS,
  53. CL_DEVICE_NOT_FOUND,
  54. CL_DEVICE_NOT_AVAILABLE,
  55. CL_COMPILER_NOT_AVAILABLE,
  56. CL_MEM_OBJECT_ALLOCATION_FAILURE,
  57. CL_OUT_OF_RESOURCES,
  58. CL_OUT_OF_HOST_MEMORY,
  59. CL_PROFILING_INFO_NOT_AVAILABLE,
  60. CL_MEM_COPY_OVERLAP,
  61. CL_IMAGE_FORMAT_MISMATCH,
  62. CL_IMAGE_FORMAT_NOT_SUPPORTED,
  63. CL_BUILD_PROGRAM_FAILURE,
  64. CL_MAP_FAILURE,
  65. CL_MISALIGNED_SUB_BUFFER_OFFSET,
  66. CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST,
  67. CL_COMPILE_PROGRAM_FAILURE,
  68. CL_LINKER_NOT_AVAILABLE,
  69. CL_LINK_PROGRAM_FAILURE,
  70. CL_DEVICE_PARTITION_FAILED,
  71. CL_KERNEL_ARG_INFO_NOT_AVAILABLE,
  72. CL_INVALID_VALUE,
  73. CL_INVALID_DEVICE_TYPE,
  74. CL_INVALID_PLATFORM,
  75. CL_INVALID_DEVICE,
  76. CL_INVALID_CONTEXT,
  77. CL_INVALID_QUEUE_PROPERTIES,
  78. CL_INVALID_COMMAND_QUEUE,
  79. CL_INVALID_HOST_PTR,
  80. CL_INVALID_MEM_OBJECT,
  81. CL_INVALID_IMAGE_FORMAT_DESCRIPTOR,
  82. CL_INVALID_IMAGE_SIZE,
  83. CL_INVALID_SAMPLER,
  84. CL_INVALID_BINARY,
  85. CL_INVALID_BUILD_OPTIONS,
  86. CL_INVALID_PROGRAM,
  87. CL_INVALID_PROGRAM_EXECUTABLE,
  88. CL_INVALID_KERNEL_NAME,
  89. CL_INVALID_KERNEL_DEFINITION,
  90. CL_INVALID_KERNEL,
  91. CL_INVALID_ARG_INDEX,
  92. CL_INVALID_ARG_VALUE,
  93. CL_INVALID_ARG_SIZE,
  94. CL_INVALID_KERNEL_ARGS,
  95. CL_INVALID_WORK_DIMENSION,
  96. CL_INVALID_WORK_GROUP_SIZE,
  97. CL_INVALID_WORK_ITEM_SIZE,
  98. CL_INVALID_GLOBAL_OFFSET,
  99. CL_INVALID_EVENT_WAIT_LIST,
  100. CL_INVALID_EVENT,
  101. CL_INVALID_OPERATION,
  102. CL_INVALID_GL_OBJECT,
  103. CL_INVALID_BUFFER_SIZE,
  104. CL_INVALID_MIP_LEVEL,
  105. CL_INVALID_GLOBAL_WORK_SIZE,
  106. CL_INVALID_PROPERTY,
  107. CL_INVALID_IMAGE_DESCRIPTOR,
  108. CL_INVALID_COMPILER_OPTIONS,
  109. CL_INVALID_LINKER_OPTIONS,
  110. CL_INVALID_DEVICE_PARTITION_COUNT,
  111. CL_INVALID_PIPE_SIZE,
  112. CL_INVALID_DEVICE_QUEUE,
  113. CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR,
  114. CL_PLATFORM_NOT_FOUND_KHR,
  115. CL_NV_INVALID_MEM_ACCESS,
  116. }</pre><div class='docblock'><p>The status of an OpenCL API call. Used for returning success/error codes.</p>
  117. </div><h2 id='variants' class='variants small-section-header'>
  118. Variants<a href='#variants' class='anchor'></a></h2>
  119. <span id="variant.CL_SUCCESS" class="variant small-section-header"><a href="#variant.CL_SUCCESS" class="anchor field"></a><span id='CL_SUCCESS.v' class='invisible'><code>CL_SUCCESS</code></span></span><span id="variant.CL_DEVICE_NOT_FOUND" class="variant small-section-header"><a href="#variant.CL_DEVICE_NOT_FOUND" class="anchor field"></a><span id='CL_DEVICE_NOT_FOUND.v' class='invisible'><code>CL_DEVICE_NOT_FOUND</code></span></span><span id="variant.CL_DEVICE_NOT_AVAILABLE" class="variant small-section-header"><a href="#variant.CL_DEVICE_NOT_AVAILABLE" class="anchor field"></a><span id='CL_DEVICE_NOT_AVAILABLE.v' class='invisible'><code>CL_DEVICE_NOT_AVAILABLE</code></span></span><span id="variant.CL_COMPILER_NOT_AVAILABLE" class="variant small-section-header"><a href="#variant.CL_COMPILER_NOT_AVAILABLE" class="anchor field"></a><span id='CL_COMPILER_NOT_AVAILABLE.v' class='invisible'><code>CL_COMPILER_NOT_AVAILABLE</code></span></span><span id="variant.CL_MEM_OBJECT_ALLOCATION_FAILURE" class="variant small-section-header"><a href="#variant.CL_MEM_OBJECT_ALLOCATION_FAILURE" class="anchor field"></a><span id='CL_MEM_OBJECT_ALLOCATION_FAILURE.v' class='invisible'><code>CL_MEM_OBJECT_ALLOCATION_FAILURE</code></span></span><span id="variant.CL_OUT_OF_RESOURCES" class="variant small-section-header"><a href="#variant.CL_OUT_OF_RESOURCES" class="anchor field"></a><span id='CL_OUT_OF_RESOURCES.v' class='invisible'><code>CL_OUT_OF_RESOURCES</code></span></span><span id="variant.CL_OUT_OF_HOST_MEMORY" class="variant small-section-header"><a href="#variant.CL_OUT_OF_HOST_MEMORY" class="anchor field"></a><span id='CL_OUT_OF_HOST_MEMORY.v' class='invisible'><code>CL_OUT_OF_HOST_MEMORY</code></span></span><span id="variant.CL_PROFILING_INFO_NOT_AVAILABLE" class="variant small-section-header"><a href="#variant.CL_PROFILING_INFO_NOT_AVAILABLE" class="anchor field"></a><span id='CL_PROFILING_INFO_NOT_AVAILABLE.v' class='invisible'><code>CL_PROFILING_INFO_NOT_AVAILABLE</code></span></span><span id="variant.CL_MEM_COPY_OVERLAP" class="variant small-section-header"><a href="#variant.CL_MEM_COPY_OVERLAP" class="anchor field"></a><span id='CL_MEM_COPY_OVERLAP.v' class='invisible'><code>CL_MEM_COPY_OVERLAP</code></span></span><span id="variant.CL_IMAGE_FORMAT_MISMATCH" class="variant small-section-header"><a href="#variant.CL_IMAGE_FORMAT_MISMATCH" class="anchor field"></a><span id='CL_IMAGE_FORMAT_MISMATCH.v' class='invisible'><code>CL_IMAGE_FORMAT_MISMATCH</code></span></span><span id="variant.CL_IMAGE_FORMAT_NOT_SUPPORTED" class="variant small-section-header"><a href="#variant.CL_IMAGE_FORMAT_NOT_SUPPORTED" class="anchor field"></a><span id='CL_IMAGE_FORMAT_NOT_SUPPORTED.v' class='invisible'><code>CL_IMAGE_FORMAT_NOT_SUPPORTED</code></span></span><span id="variant.CL_BUILD_PROGRAM_FAILURE" class="variant small-section-header"><a href="#variant.CL_BUILD_PROGRAM_FAILURE" class="anchor field"></a><span id='CL_BUILD_PROGRAM_FAILURE.v' class='invisible'><code>CL_BUILD_PROGRAM_FAILURE</code></span></span><span id="variant.CL_MAP_FAILURE" class="variant small-section-header"><a href="#variant.CL_MAP_FAILURE" class="anchor field"></a><span id='CL_MAP_FAILURE.v' class='invisible'><code>CL_MAP_FAILURE</code></span></span><span id="variant.CL_MISALIGNED_SUB_BUFFER_OFFSET" class="variant small-section-header"><a href="#variant.CL_MISALIGNED_SUB_BUFFER_OFFSET" class="anchor field"></a><span id='CL_MISALIGNED_SUB_BUFFER_OFFSET.v' class='invisible'><code>CL_MISALIGNED_SUB_BUFFER_OFFSET</code></span></span><span id="variant.CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST" class="variant small-section-header"><a href="#variant.CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST" class="anchor field"></a><span id='CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST.v' class='invisible'><code>CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST</code></span></span><span id="variant.CL_COMPILE_PROGRAM_FAILURE" class="variant small-section-header"><a href="#variant.CL_COMPILE_PROGRAM_FAILURE" class="anchor field"></a><span id='CL_COMPILE_PROGRAM_FAILURE.v' class='invisible'><code>CL_COMPILE_PROGRAM_FAILURE</code></span></span><span id="variant.CL_LINKER_NOT_AVAILABLE" class="variant small-section-header"><a href="#variant.CL_LINKER_NOT_AVAILABLE" class="anchor field"></a><span id='CL_LINKER_NOT_AVAILABLE.v' class='invisible'><code>CL_LINKER_NOT_AVAILABLE</code></span></span><span id="variant.CL_LINK_PROGRAM_FAILURE" class="variant small-section-header"><a href="#variant.CL_LINK_PROGRAM_FAILURE" class="anchor field"></a><span id='CL_LINK_PROGRAM_FAILURE.v' class='invisible'><code>CL_LINK_PROGRAM_FAILURE</code></span></span><span id="variant.CL_DEVICE_PARTITION_FAILED" class="variant small-section-header"><a href="#variant.CL_DEVICE_PARTITION_FAILED" class="anchor field"></a><span id='CL_DEVICE_PARTITION_FAILED.v' class='invisible'><code>CL_DEVICE_PARTITION_FAILED</code></span></span><span id="variant.CL_KERNEL_ARG_INFO_NOT_AVAILABLE" class="variant small-section-header"><a href="#variant.CL_KERNEL_ARG_INFO_NOT_AVAILABLE" class="anchor field"></a><span id='CL_KERNEL_ARG_INFO_NOT_AVAILABLE.v' class='invisible'><code>CL_KERNEL_ARG_INFO_NOT_AVAILABLE</code></span></span><span id="variant.CL_INVALID_VALUE" class="variant small-section-header"><a href="#variant.CL_INVALID_VALUE" class="anchor field"></a><span id='CL_INVALID_VALUE.v' class='invisible'><code>CL_INVALID_VALUE</code></span></span><span id="variant.CL_INVALID_DEVICE_TYPE" class="variant small-section-header"><a href="#variant.CL_INVALID_DEVICE_TYPE" class="anchor field"></a><span id='CL_INVALID_DEVICE_TYPE.v' class='invisible'><code>CL_INVALID_DEVICE_TYPE</code></span></span><span id="variant.CL_INVALID_PLATFORM" class="variant small-section-header"><a href="#variant.CL_INVALID_PLATFORM" class="anchor field"></a><span id='CL_INVALID_PLATFORM.v' class='invisible'><code>CL_INVALID_PLATFORM</code></span></span><span id="variant.CL_INVALID_DEVICE" class="variant small-section-header"><a href="#variant.CL_INVALID_DEVICE" class="anchor field"></a><span id='CL_INVALID_DEVICE.v' class='invisible'><code>CL_INVALID_DEVICE</code></span></span><span id="variant.CL_INVALID_CONTEXT" class="variant small-section-header"><a href="#variant.CL_INVALID_CONTEXT" class="anchor field"></a><span id='CL_INVALID_CONTEXT.v' class='invisible'><code>CL_INVALID_CONTEXT</code></span></span><span id="variant.CL_INVALID_QUEUE_PROPERTIES" class="variant small-section-header"><a href="#variant.CL_INVALID_QUEUE_PROPERTIES" class="anchor field"></a><span id='CL_INVALID_QUEUE_PROPERTIES.v' class='invisible'><code>CL_INVALID_QUEUE_PROPERTIES</code></span></span><span id="variant.CL_INVALID_COMMAND_QUEUE" class="variant small-section-header"><a href="#variant.CL_INVALID_COMMAND_QUEUE" class="anchor field"></a><span id='CL_INVALID_COMMAND_QUEUE.v' class='invisible'><code>CL_INVALID_COMMAND_QUEUE</code></span></span><span id="variant.CL_INVALID_HOST_PTR" class="variant small-section-header"><a href="#variant.CL_INVALID_HOST_PTR" class="anchor field"></a><span id='CL_INVALID_HOST_PTR.v' class='invisible'><code>CL_INVALID_HOST_PTR</code></span></span><span id="variant.CL_INVALID_MEM_OBJECT" class="variant small-section-header"><a href="#variant.CL_INVALID_MEM_OBJECT" class="anchor field"></a><span id='CL_INVALID_MEM_OBJECT.v' class='invisible'><code>CL_INVALID_MEM_OBJECT</code></span></span><span id="variant.CL_INVALID_IMAGE_FORMAT_DESCRIPTOR" class="variant small-section-header"><a href="#variant.CL_INVALID_IMAGE_FORMAT_DESCRIPTOR" class="anchor field"></a><span id='CL_INVALID_IMAGE_FORMAT_DESCRIPTOR.v' class='invisible'><code>CL_INVALID_IMAGE_FORMAT_DESCRIPTOR</code></span></span><span id="variant.CL_INVALID_IMAGE_SIZE" class="variant small-section-header"><a href="#variant.CL_INVALID_IMAGE_SIZE" class="anchor field"></a><span id='CL_INVALID_IMAGE_SIZE.v' class='invisible'><code>CL_INVALID_IMAGE_SIZE</code></span></span><span id="variant.CL_INVALID_SAMPLER" class="variant small-section-header"><a href="#variant.CL_INVALID_SAMPLER" class="anchor field"></a><span id='CL_INVALID_SAMPLER.v' class='invisible'><code>CL_INVALID_SAMPLER</code></span></span><span id="variant.CL_INVALID_BINARY" class="variant small-section-header"><a href="#variant.CL_INVALID_BINARY" class="anchor field"></a><span id='CL_INVALID_BINARY.v' class='invisible'><code>CL_INVALID_BINARY</code></span></span><span id="variant.CL_INVALID_BUILD_OPTIONS" class="variant small-section-header"><a href="#variant.CL_INVALID_BUILD_OPTIONS" class="anchor field"></a><span id='CL_INVALID_BUILD_OPTIONS.v' class='invisible'><code>CL_INVALID_BUILD_OPTIONS</code></span></span><span id="variant.CL_INVALID_PROGRAM" class="variant small-section-header"><a href="#variant.CL_INVALID_PROGRAM" class="anchor field"></a><span id='CL_INVALID_PROGRAM.v' class='invisible'><code>CL_INVALID_PROGRAM</code></span></span><span id="variant.CL_INVALID_PROGRAM_EXECUTABLE" class="variant small-section-header"><a href="#variant.CL_INVALID_PROGRAM_EXECUTABLE" class="anchor field"></a><span id='CL_INVALID_PROGRAM_EXECUTABLE.v' class='invisible'><code>CL_INVALID_PROGRAM_EXECUTABLE</code></span></span><span id="variant.CL_INVALID_KERNEL_NAME" class="variant small-section-header"><a href="#variant.CL_INVALID_KERNEL_NAME" class="anchor field"></a><span id='CL_INVALID_KERNEL_NAME.v' class='invisible'><code>CL_INVALID_KERNEL_NAME</code></span></span><span id="variant.CL_INVALID_KERNEL_DEFINITION" class="variant small-section-header"><a href="#variant.CL_INVALID_KERNEL_DEFINITION" class="anchor field"></a><span id='CL_INVALID_KERNEL_DEFINITION.v' class='invisible'><code>CL_INVALID_KERNEL_DEFINITION</code></span></span><span id="variant.CL_INVALID_KERNEL" class="variant small-section-header"><a href="#variant.CL_INVALID_KERNEL" class="anchor field"></a><span id='CL_INVALID_KERNEL.v' class='invisible'><code>CL_INVALID_KERNEL</code></span></span><span id="variant.CL_INVALID_ARG_INDEX" class="variant small-section-header"><a href="#variant.CL_INVALID_ARG_INDEX" class="anchor field"></a><span id='CL_INVALID_ARG_INDEX.v' class='invisible'><code>CL_INVALID_ARG_INDEX</code></span></span><span id="variant.CL_INVALID_ARG_VALUE" class="variant small-section-header"><a href="#variant.CL_INVALID_ARG_VALUE" class="anchor field"></a><span id='CL_INVALID_ARG_VALUE.v' class='invisible'><code>CL_INVALID_ARG_VALUE</code></span></span><span id="variant.CL_INVALID_ARG_SIZE" class="variant small-section-header"><a href="#variant.CL_INVALID_ARG_SIZE" class="anchor field"></a><span id='CL_INVALID_ARG_SIZE.v' class='invisible'><code>CL_INVALID_ARG_SIZE</code></span></span><span id="variant.CL_INVALID_KERNEL_ARGS" class="variant small-section-header"><a href="#variant.CL_INVALID_KERNEL_ARGS" class="anchor field"></a><span id='CL_INVALID_KERNEL_ARGS.v' class='invisible'><code>CL_INVALID_KERNEL_ARGS</code></span></span><span id="variant.CL_INVALID_WORK_DIMENSION" class="variant small-section-header"><a href="#variant.CL_INVALID_WORK_DIMENSION" class="anchor field"></a><span id='CL_INVALID_WORK_DIMENSION.v' class='invisible'><code>CL_INVALID_WORK_DIMENSION</code></span></span><span id="variant.CL_INVALID_WORK_GROUP_SIZE" class="variant small-section-header"><a href="#variant.CL_INVALID_WORK_GROUP_SIZE" class="anchor field"></a><span id='CL_INVALID_WORK_GROUP_SIZE.v' class='invisible'><code>CL_INVALID_WORK_GROUP_SIZE</code></span></span><span id="variant.CL_INVALID_WORK_ITEM_SIZE" class="variant small-section-header"><a href="#variant.CL_INVALID_WORK_ITEM_SIZE" class="anchor field"></a><span id='CL_INVALID_WORK_ITEM_SIZE.v' class='invisible'><code>CL_INVALID_WORK_ITEM_SIZE</code></span></span><span id="variant.CL_INVALID_GLOBAL_OFFSET" class="variant small-section-header"><a href="#variant.CL_INVALID_GLOBAL_OFFSET" class="anchor field"></a><span id='CL_INVALID_GLOBAL_OFFSET.v' class='invisible'><code>CL_INVALID_GLOBAL_OFFSET</code></span></span><span id="variant.CL_INVALID_EVENT_WAIT_LIST" class="variant small-section-header"><a href="#variant.CL_INVALID_EVENT_WAIT_LIST" class="anchor field"></a><span id='CL_INVALID_EVENT_WAIT_LIST.v' class='invisible'><code>CL_INVALID_EVENT_WAIT_LIST</code></span></span><span id="variant.CL_INVALID_EVENT" class="variant small-section-header"><a href="#variant.CL_INVALID_EVENT" class="anchor field"></a><span id='CL_INVALID_EVENT.v' class='invisible'><code>CL_INVALID_EVENT</code></span></span><span id="variant.CL_INVALID_OPERATION" class="variant small-section-header"><a href="#variant.CL_INVALID_OPERATION" class="anchor field"></a><span id='CL_INVALID_OPERATION.v' class='invisible'><code>CL_INVALID_OPERATION</code></span></span><span id="variant.CL_INVALID_GL_OBJECT" class="variant small-section-header"><a href="#variant.CL_INVALID_GL_OBJECT" class="anchor field"></a><span id='CL_INVALID_GL_OBJECT.v' class='invisible'><code>CL_INVALID_GL_OBJECT</code></span></span><span id="variant.CL_INVALID_BUFFER_SIZE" class="variant small-section-header"><a href="#variant.CL_INVALID_BUFFER_SIZE" class="anchor field"></a><span id='CL_INVALID_BUFFER_SIZE.v' class='invisible'><code>CL_INVALID_BUFFER_SIZE</code></span></span><span id="variant.CL_INVALID_MIP_LEVEL" class="variant small-section-header"><a href="#variant.CL_INVALID_MIP_LEVEL" class="anchor field"></a><span id='CL_INVALID_MIP_LEVEL.v' class='invisible'><code>CL_INVALID_MIP_LEVEL</code></span></span><span id="variant.CL_INVALID_GLOBAL_WORK_SIZE" class="variant small-section-header"><a href="#variant.CL_INVALID_GLOBAL_WORK_SIZE" class="anchor field"></a><span id='CL_INVALID_GLOBAL_WORK_SIZE.v' class='invisible'><code>CL_INVALID_GLOBAL_WORK_SIZE</code></span></span><span id="variant.CL_INVALID_PROPERTY" class="variant small-section-header"><a href="#variant.CL_INVALID_PROPERTY" class="anchor field"></a><span id='CL_INVALID_PROPERTY.v' class='invisible'><code>CL_INVALID_PROPERTY</code></span></span><span id="variant.CL_INVALID_IMAGE_DESCRIPTOR" class="variant small-section-header"><a href="#variant.CL_INVALID_IMAGE_DESCRIPTOR" class="anchor field"></a><span id='CL_INVALID_IMAGE_DESCRIPTOR.v' class='invisible'><code>CL_INVALID_IMAGE_DESCRIPTOR</code></span></span><span id="variant.CL_INVALID_COMPILER_OPTIONS" class="variant small-section-header"><a href="#variant.CL_INVALID_COMPILER_OPTIONS" class="anchor field"></a><span id='CL_INVALID_COMPILER_OPTIONS.v' class='invisible'><code>CL_INVALID_COMPILER_OPTIONS</code></span></span><span id="variant.CL_INVALID_LINKER_OPTIONS" class="variant small-section-header"><a href="#variant.CL_INVALID_LINKER_OPTIONS" class="anchor field"></a><span id='CL_INVALID_LINKER_OPTIONS.v' class='invisible'><code>CL_INVALID_LINKER_OPTIONS</code></span></span><span id="variant.CL_INVALID_DEVICE_PARTITION_COUNT" class="variant small-section-header"><a href="#variant.CL_INVALID_DEVICE_PARTITION_COUNT" class="anchor field"></a><span id='CL_INVALID_DEVICE_PARTITION_COUNT.v' class='invisible'><code>CL_INVALID_DEVICE_PARTITION_COUNT</code></span></span><span id="variant.CL_INVALID_PIPE_SIZE" class="variant small-section-header"><a href="#variant.CL_INVALID_PIPE_SIZE" class="anchor field"></a><span id='CL_INVALID_PIPE_SIZE.v' class='invisible'><code>CL_INVALID_PIPE_SIZE</code></span></span><span id="variant.CL_INVALID_DEVICE_QUEUE" class="variant small-section-header"><a href="#variant.CL_INVALID_DEVICE_QUEUE" class="anchor field"></a><span id='CL_INVALID_DEVICE_QUEUE.v' class='invisible'><code>CL_INVALID_DEVICE_QUEUE</code></span></span><span id="variant.CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR" class="variant small-section-header"><a href="#variant.CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR" class="anchor field"></a><span id='CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR.v' class='invisible'><code>CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR</code></span></span><span id="variant.CL_PLATFORM_NOT_FOUND_KHR" class="variant small-section-header"><a href="#variant.CL_PLATFORM_NOT_FOUND_KHR" class="anchor field"></a><span id='CL_PLATFORM_NOT_FOUND_KHR.v' class='invisible'><code>CL_PLATFORM_NOT_FOUND_KHR</code></span></span><span id="variant.CL_NV_INVALID_MEM_ACCESS" class="variant small-section-header"><a href="#variant.CL_NV_INVALID_MEM_ACCESS" class="anchor field"></a><span id='CL_NV_INVALID_MEM_ACCESS.v' class='invisible'><code>CL_NV_INVALID_MEM_ACCESS</code></span></span>
  120. <h2 id='implementations' class='small-section-header'>
  121. Trait Implementations<a href='#implementations' class='anchor'></a>
  122. </h2>
  123. <h3 id='impl-Clone' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a></code><a href='#impl-Clone' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#593' title='goto source code'>[src]</a></span></h3>
  124. <div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#593' title='goto source code'>[src]</a></span></h4>
  125. <div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
  126. </div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#112-114' title='goto source code'>[src]</a></span></h4>
  127. <div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
  128. </div></div><h3 id='impl-Copy' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a></code><a href='#impl-Copy' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#593' title='goto source code'>[src]</a></span></h3>
  129. <div class='impl-items'></div><h3 id='impl-Debug' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a></code><a href='#impl-Debug' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#593' title='goto source code'>[src]</a></span></h3>
  130. <div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, __arg_0: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#593' title='goto source code'>[src]</a></span></h4>
  131. <div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
  132. </div></div><h3 id='impl-PartialEq' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a></code><a href='#impl-PartialEq' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#593' title='goto source code'>[src]</a></span></h3>
  133. <div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, __arg_0: &amp;<a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#593' title='goto source code'>[src]</a></span></h4>
  134. <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
  135. </div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#121' title='goto source code'>[src]</a></span></h4>
  136. <div class='docblock'><p>This method tests for <code>!=</code>.</p>
  137. </div></div><h3 id='impl-Eq' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a></code><a href='#impl-Eq' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#593' title='goto source code'>[src]</a></span></h3>
  138. <div class='impl-items'></div><h3 id='impl-Hash' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a></code><a href='#impl-Hash' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#593' title='goto source code'>[src]</a></span></h3>
  139. <div class='impl-items'><h4 id='method.hash' class="method"><span id='hash.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, __arg_0: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#593' title='goto source code'>[src]</a></span></h4>
  140. <div class='docblock'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
  141. </div><h4 id='method.hash_slice' class="method"><span id='hash_slice.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.3.0'>1.3.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#202-208' title='goto source code'>[src]</a></span></h4>
  142. <div class='docblock'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
  143. </div></div><h3 id='impl-FromPrimitive' class='impl'><span class='in-band'><code>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a></code><a href='#impl-FromPrimitive' class='anchor'></a></span><span class='out-of-band'></span></h3>
  144. <div class='impl-items'><h4 id='method.from_i64' class="method"><span id='from_i64.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span></h4>
  145. <div class='docblock'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
  146. </div><h4 id='method.from_u64' class="method"><span id='from_u64.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span></h4>
  147. <div class='docblock'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
  148. </div><h4 id='method.from_isize' class="method"><span id='from_isize.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/num_traits/cast.rs.html#308-310' title='goto source code'>[src]</a></span></h4>
  149. <div class='docblock'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
  150. </div><h4 id='method.from_i8' class="method"><span id='from_i8.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/num_traits/cast.rs.html#315-317' title='goto source code'>[src]</a></span></h4>
  151. <div class='docblock'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
  152. </div><h4 id='method.from_i16' class="method"><span id='from_i16.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/num_traits/cast.rs.html#322-324' title='goto source code'>[src]</a></span></h4>
  153. <div class='docblock'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
  154. </div><h4 id='method.from_i32' class="method"><span id='from_i32.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/num_traits/cast.rs.html#329-331' title='goto source code'>[src]</a></span></h4>
  155. <div class='docblock'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
  156. </div><h4 id='method.from_usize' class="method"><span id='from_usize.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/num_traits/cast.rs.html#340-342' title='goto source code'>[src]</a></span></h4>
  157. <div class='docblock'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
  158. </div><h4 id='method.from_u8' class="method"><span id='from_u8.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/num_traits/cast.rs.html#347-349' title='goto source code'>[src]</a></span></h4>
  159. <div class='docblock'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
  160. </div><h4 id='method.from_u16' class="method"><span id='from_u16.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/num_traits/cast.rs.html#354-356' title='goto source code'>[src]</a></span></h4>
  161. <div class='docblock'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
  162. </div><h4 id='method.from_u32' class="method"><span id='from_u32.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/num_traits/cast.rs.html#361-363' title='goto source code'>[src]</a></span></h4>
  163. <div class='docblock'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
  164. </div><h4 id='method.from_f32' class="method"><span id='from_f32.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/num_traits/cast.rs.html#372-374' title='goto source code'>[src]</a></span></h4>
  165. <div class='docblock'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
  166. </div><h4 id='method.from_f64' class="method"><span id='from_f64.v' class='invisible'><code>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/num_traits/cast.rs.html#379-381' title='goto source code'>[src]</a></span></h4>
  167. <div class='docblock'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, the <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
  168. </div></div><h3 id='impl-Display' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a></code><a href='#impl-Display' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#662-666' title='goto source code'>[src]</a></span></h3>
  169. <div class='impl-items'><h4 id='method.fmt-1' class="method"><span id='fmt.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, fmtr: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#663-665' title='goto source code'>[src]</a></span></h4>
  170. <div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
  171. </div></div></section>
  172. <section id='search' class="content hidden"></section>
  173. <section class="footer"></section>
  174. <aside id="help" class="hidden">
  175. <div>
  176. <h1 class="hidden">Help</h1>
  177. <div class="shortcuts">
  178. <h2>Keyboard Shortcuts</h2>
  179. <dl>
  180. <dt><kbd>?</kbd></dt>
  181. <dd>Show this help dialog</dd>
  182. <dt><kbd>S</kbd></dt>
  183. <dd>Focus the search field</dd>
  184. <dt><kbd>↑</kbd></dt>
  185. <dd>Move up in search results</dd>
  186. <dt><kbd>↓</kbd></dt>
  187. <dd>Move down in search results</dd>
  188. <dt><kbd>↹</kbd></dt>
  189. <dd>Switch tab</dd>
  190. <dt><kbd>&#9166;</kbd></dt>
  191. <dd>Go to active search result</dd>
  192. <dt><kbd>+</kbd></dt>
  193. <dd>Expand all sections</dd>
  194. <dt><kbd>-</kbd></dt>
  195. <dd>Collapse all sections</dd>
  196. </dl>
  197. </div>
  198. <div class="infos">
  199. <h2>Search Tricks</h2>
  200. <p>
  201. Prefix searches with a type followed by a colon (e.g.
  202. <code>fn:</code>) to restrict the search to a given type.
  203. </p>
  204. <p>
  205. Accepted types are: <code>fn</code>, <code>mod</code>,
  206. <code>struct</code>, <code>enum</code>,
  207. <code>trait</code>, <code>type</code>, <code>macro</code>,
  208. and <code>const</code>.
  209. </p>
  210. <p>
  211. Search functions by type signature (e.g.
  212. <code>vec -> usize</code> or <code>* -> vec</code>)
  213. </p>
  214. </div>
  215. </div>
  216. </aside>
  217. <script>
  218. window.rootPath = "../";
  219. window.currentCrate = "ocl_core";
  220. </script>
  221. <script src="../main.js"></script>
  222. <script defer src="../search-index.js"></script>
  223. </body>
  224. </html>