<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `Status` enum in crate `ocl_core`.">
<meta name="keywords" content="rust, rustlang, rust-lang, Status">
<title>ocl_core::Status - Rust</title>
<link rel="stylesheet" type="text/css" href="../normalize.css">
<link rel="stylesheet" type="text/css" href="../rustdoc.css">
<link rel="stylesheet" type="text/css" href="../main.css">
</head>
<body class="rustdoc enum">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]-->
<nav class="sidebar">
<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>
</nav>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
type="search">
</div>
</form>
</nav>
<section id='main' class="content">
<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'>
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>−</span>]
</a>
</span></span></h1>
<pre class='rust enum'><div class="docblock attributes">#[repr(C)]
</div>pub enum Status {
CL_SUCCESS,
CL_DEVICE_NOT_FOUND,
CL_DEVICE_NOT_AVAILABLE,
CL_COMPILER_NOT_AVAILABLE,
CL_MEM_OBJECT_ALLOCATION_FAILURE,
CL_OUT_OF_RESOURCES,
CL_OUT_OF_HOST_MEMORY,
CL_PROFILING_INFO_NOT_AVAILABLE,
CL_MEM_COPY_OVERLAP,
CL_IMAGE_FORMAT_MISMATCH,
CL_IMAGE_FORMAT_NOT_SUPPORTED,
CL_BUILD_PROGRAM_FAILURE,
CL_MAP_FAILURE,
CL_MISALIGNED_SUB_BUFFER_OFFSET,
CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST,
CL_COMPILE_PROGRAM_FAILURE,
CL_LINKER_NOT_AVAILABLE,
CL_LINK_PROGRAM_FAILURE,
CL_DEVICE_PARTITION_FAILED,
CL_KERNEL_ARG_INFO_NOT_AVAILABLE,
CL_INVALID_VALUE,
CL_INVALID_DEVICE_TYPE,
CL_INVALID_PLATFORM,
CL_INVALID_DEVICE,
CL_INVALID_CONTEXT,
CL_INVALID_QUEUE_PROPERTIES,
CL_INVALID_COMMAND_QUEUE,
CL_INVALID_HOST_PTR,
CL_INVALID_MEM_OBJECT,
CL_INVALID_IMAGE_FORMAT_DESCRIPTOR,
CL_INVALID_IMAGE_SIZE,
CL_INVALID_SAMPLER,
CL_INVALID_BINARY,
CL_INVALID_BUILD_OPTIONS,
CL_INVALID_PROGRAM,
CL_INVALID_PROGRAM_EXECUTABLE,
CL_INVALID_KERNEL_NAME,
CL_INVALID_KERNEL_DEFINITION,
CL_INVALID_KERNEL,
CL_INVALID_ARG_INDEX,
CL_INVALID_ARG_VALUE,
CL_INVALID_ARG_SIZE,
CL_INVALID_KERNEL_ARGS,
CL_INVALID_WORK_DIMENSION,
CL_INVALID_WORK_GROUP_SIZE,
CL_INVALID_WORK_ITEM_SIZE,
CL_INVALID_GLOBAL_OFFSET,
CL_INVALID_EVENT_WAIT_LIST,
CL_INVALID_EVENT,
CL_INVALID_OPERATION,
CL_INVALID_GL_OBJECT,
CL_INVALID_BUFFER_SIZE,
CL_INVALID_MIP_LEVEL,
CL_INVALID_GLOBAL_WORK_SIZE,
CL_INVALID_PROPERTY,
CL_INVALID_IMAGE_DESCRIPTOR,
CL_INVALID_COMPILER_OPTIONS,
CL_INVALID_LINKER_OPTIONS,
CL_INVALID_DEVICE_PARTITION_COUNT,
CL_INVALID_PIPE_SIZE,
CL_INVALID_DEVICE_QUEUE,
CL_PLATFORM_NOT_FOUND_KHR,
CL_NV_INVALID_MEM_ACCESS,
}</pre><div class='docblock'><p>The status of an OpenCL API call. Used for returning success/error codes.</p>
</div><h2 class='variants'>Variants</h2>
<span id='variant.CL_SUCCESS' class='variant'><span id='CL_SUCCESS.v' class='invisible'><code>CL_SUCCESS</code></span></span><span id='variant.CL_DEVICE_NOT_FOUND' class='variant'><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'><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'><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'><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'><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'><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'><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'><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'><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'><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'><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'><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'><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'><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'><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'><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'><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'><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'><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'><span id='CL_INVALID_VALUE.v' class='invisible'><code>CL_INVALID_VALUE</code></span></span><span id='variant.CL_INVALID_DEVICE_TYPE' class='variant'><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'><span id='CL_INVALID_PLATFORM.v' class='invisible'><code>CL_INVALID_PLATFORM</code></span></span><span id='variant.CL_INVALID_DEVICE' class='variant'><span id='CL_INVALID_DEVICE.v' class='invisible'><code>CL_INVALID_DEVICE</code></span></span><span id='variant.CL_INVALID_CONTEXT' class='variant'><span id='CL_INVALID_CONTEXT.v' class='invisible'><code>CL_INVALID_CONTEXT</code></span></span><span id='variant.CL_INVALID_QUEUE_PROPERTIES' class='variant'><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'><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'><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'><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'><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'><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'><span id='CL_INVALID_SAMPLER.v' class='invisible'><code>CL_INVALID_SAMPLER</code></span></span><span id='variant.CL_INVALID_BINARY' class='variant'><span id='CL_INVALID_BINARY.v' class='invisible'><code>CL_INVALID_BINARY</code></span></span><span id='variant.CL_INVALID_BUILD_OPTIONS' class='variant'><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'><span id='CL_INVALID_PROGRAM.v' class='invisible'><code>CL_INVALID_PROGRAM</code></span></span><span id='variant.CL_INVALID_PROGRAM_EXECUTABLE' class='variant'><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'><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'><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'><span id='CL_INVALID_KERNEL.v' class='invisible'><code>CL_INVALID_KERNEL</code></span></span><span id='variant.CL_INVALID_ARG_INDEX' class='variant'><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'><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'><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'><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'><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'><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'><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'><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'><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'><span id='CL_INVALID_EVENT.v' class='invisible'><code>CL_INVALID_EVENT</code></span></span><span id='variant.CL_INVALID_OPERATION' class='variant'><span id='CL_INVALID_OPERATION.v' class='invisible'><code>CL_INVALID_OPERATION</code></span></span><span id='variant.CL_INVALID_GL_OBJECT' class='variant'><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'><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'><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'><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'><span id='CL_INVALID_PROPERTY.v' class='invisible'><code>CL_INVALID_PROPERTY</code></span></span><span id='variant.CL_INVALID_IMAGE_DESCRIPTOR' class='variant'><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'><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'><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'><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'><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'><span id='CL_INVALID_DEVICE_QUEUE.v' class='invisible'><code>CL_INVALID_DEVICE_QUEUE</code></span></span><span id='variant.CL_PLATFORM_NOT_FOUND_KHR' class='variant'><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'><span id='CL_NV_INVALID_MEM_ACCESS.v' class='invisible'><code>CL_NV_INVALID_MEM_ACCESS</code></span></span><h2 id='implementations'>Trait Implementations</h2><h3 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></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#521' title='goto source code'>[src]</a></span></h3>
<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>(&self, __arg_0: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span></h4>
<div class='docblock'><p>Formats the value using the given formatter.</p>
</div></div><h3 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></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#521' title='goto source code'>[src]</a></span></h3>
<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>(&self, __arg_0: &<a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
<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>
</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>(&self, other: &Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
<div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 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></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#521' title='goto source code'>[src]</a></span></h3>
<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>(&self) -> <a class="enum" href="../ocl_core/enum.Status.html" title="enum ocl_core::Status">Status</a></code></span></h4>
<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>
</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>(&mut self, source: &Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
<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>
</div></div><h3 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></span><span class='out-of-band'></span></h3>
<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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code></span></h4>
<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>
</div></div><h3 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></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ocl_core/lib.rs.html#589-593' title='goto source code'>[src]</a></span></h3>
<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>(&self, fmtr: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span></h4>
<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>
</div></div></section>
<section id='search' class="content hidden"></section>
<section class="footer"></section>
<aside id="help" class="hidden">
<div>
<h1 class="hidden">Help</h1>
<div class="shortcuts">
<h2>Keyboard Shortcuts</h2>
<dl>
<dt>?</dt>
<dd>Show this help dialog</dd>
<dt>S</dt>
<dd>Focus the search field</dd>
<dt>⇤</dt>
<dd>Move up in search results</dd>
<dt>⇥</dt>
<dd>Move down in search results</dd>
<dt>⏎</dt>
<dd>Go to active search result</dd>
<dt>+</dt>
<dd>Collapse/expand all sections</dd>
</dl>
</div>
<div class="infos">
<h2>Search Tricks</h2>
<p>
Prefix searches with a type followed by a colon (e.g.
<code>fn:</code>) to restrict the search to a given type.
</p>
<p>
Accepted types are: <code>fn</code>, <code>mod</code>,
<code>struct</code>, <code>enum</code>,
<code>trait</code>, <code>type</code>, <code>macro</code>,
and <code>const</code>.
</p>
<p>
Search functions by type signature (e.g.
<code>vec -> usize</code> or <code>* -> vec</code>)
</p>
</div>
</div>
</aside>
<script>
window.rootPath = "../";
window.currentCrate = "ocl_core";
</script>
<script src="../jquery.js"></script>
<script src="../main.js"></script>
<script defer src="../search-index.js"></script>
</body>
</html>