This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/tvm-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new ce7258951e deploying ffi docs
ce7258951e is described below
commit ce7258951e6e35c9cd94af5adfd0dd7c6264577a
Author: tvm-bot <[email protected]>
AuthorDate: Mon Oct 27 00:37:44 2025 +0000
deploying ffi docs
---
.../tvm_ffi/collections/tensor/struct.CPUNDAlloc.html | 2 +-
.../tvm_ffi/collections/tensor/trait.DLTensorExt.html | 2 +-
.../tvm_ffi/collections/tensor/trait.NDAllocator.html | 8 ++++----
ffi/reference/rust/generated/tvm_ffi/derive/derive.Object.html | 2 +-
.../rust/generated/tvm_ffi/derive/derive.ObjectRef.html | 2 +-
ffi/reference/rust/generated/tvm_ffi/enum.DLDataTypeCode.html | 6 +++---
ffi/reference/rust/generated/tvm_ffi/enum.DLDeviceType.html | 6 +++---
ffi/reference/rust/generated/tvm_ffi/enum.TypeIndex.html | 6 +++---
.../rust/generated/tvm_ffi/function/struct.Function.html | 2 +-
ffi/reference/rust/generated/tvm_ffi/index.html | 2 +-
.../rust/generated/tvm_ffi/object/enum.TypeIndex.html | 6 +++---
ffi/reference/rust/generated/tvm_ffi/struct.DLDataType.html | 8 ++++----
ffi/reference/rust/generated/tvm_ffi/struct.DLDevice.html | 8 ++++----
ffi/reference/rust/generated/tvm_ffi/struct.TVMFFIAny.html | 10 +++++-----
ffi/reference/rust/generated/tvm_ffi/struct.TVMFFIObject.html | 4 ++--
.../rust/generated/tvm_ffi/type.TVMFFIStreamHandle.html | 2 +-
16 files changed, 38 insertions(+), 38 deletions(-)
diff --git
a/ffi/reference/rust/generated/tvm_ffi/collections/tensor/struct.CPUNDAlloc.html
b/ffi/reference/rust/generated/tvm_ffi/collections/tensor/struct.CPUNDAlloc.html
index 9dd4214f47..31ad56378d 100644
---
a/ffi/reference/rust/generated/tvm_ffi/collections/tensor/struct.CPUNDAlloc.html
+++
b/ffi/reference/rust/generated/tvm_ffi/collections/tensor/struct.CPUNDAlloc.html
@@ -1,6 +1,6 @@
<!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="Example
CPU NDAllocator This allocator allocates data on the CPU"><title>CPUNDAlloc in
tvm_ffi::collections::tensor -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.w
[...]
This allocator allocates data on the CPU</p>
-</div></details><h2 id="trait-implementations" class="section-header">Trait
Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-NDAllocator-for-CPUNDAlloc" class="impl"><a
class="src rightside"
href="../../../src/tvm_ffi/collections/tensor.rs.html#319-338">Source</a><a
href="#impl-NDAllocator-for-CPUNDAlloc" class="anchor">§</a><h3
class="code-header">impl [...]
+</div></details><h2 id="trait-implementations" class="section-header">Trait
Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-NDAllocator-for-CPUNDAlloc" class="impl"><a
class="src rightside"
href="../../../src/tvm_ffi/collections/tensor.rs.html#319-338">Source</a><a
href="#impl-NDAllocator-for-CPUNDAlloc" class="anchor">§</a><h3
class="code-header">impl [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="
[...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#211">Source</a><a
href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a
href="https://d [...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow_mut" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#218">Source</a><a
href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a
href="h [...]
diff --git
a/ffi/reference/rust/generated/tvm_ffi/collections/tensor/trait.DLTensorExt.html
b/ffi/reference/rust/generated/tvm_ffi/collections/tensor/trait.DLTensorExt.html
index ed07920253..f6f61b317e 100644
---
a/ffi/reference/rust/generated/tvm_ffi/collections/tensor/trait.DLTensorExt.html
+++
b/ffi/reference/rust/generated/tvm_ffi/collections/tensor/trait.DLTensorExt.html
@@ -4,4 +4,4 @@
<span class="item-spacer"></span> fn <a href="#tymethod.item_size"
class="fn">item_size</a>(&self) -> <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.usize.html">usize</a>;
}</code></pre><details class="toggle top-doc" open><summary
class="hideme"><span>Expand description</span></summary><div
class="docblock"><p>DLTensorExt trait
This trait provides methods to get the number of elements and the item size of
a DLTensor</p>
-</div></details><h2 id="required-methods" class="section-header">Required
Methods<a href="#required-methods" class="anchor">§</a></h2><div
class="methods"><section id="tymethod.numel" class="method"><a class="src
rightside"
href="../../../src/tvm_ffi/collections/tensor.rs.html#55">Source</a><h4
class="code-header">fn <a href="#tymethod.numel"
class="fn">numel</a>(&self) -> <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.usize.html">usize</a></h4></section
[...]
\ No newline at end of file
+</div></details><h2 id="required-methods" class="section-header">Required
Methods<a href="#required-methods" class="anchor">§</a></h2><div
class="methods"><section id="tymethod.numel" class="method"><a class="src
rightside"
href="../../../src/tvm_ffi/collections/tensor.rs.html#55">Source</a><h4
class="code-header">fn <a href="#tymethod.numel"
class="fn">numel</a>(&self) -> <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.usize.html">usize</a></h4></section
[...]
\ No newline at end of file
diff --git
a/ffi/reference/rust/generated/tvm_ffi/collections/tensor/trait.NDAllocator.html
b/ffi/reference/rust/generated/tvm_ffi/collections/tensor/trait.NDAllocator.html
index aa66b39e1a..946e65c627 100644
---
a/ffi/reference/rust/generated/tvm_ffi/collections/tensor/trait.NDAllocator.html
+++
b/ffi/reference/rust/generated/tvm_ffi/collections/tensor/trait.NDAllocator.html
@@ -2,17 +2,17 @@
const <a href="#associatedconstant.MIN_ALIGN"
class="constant">MIN_ALIGN</a>: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.usize.html">usize</a>;
// Required methods
- unsafe fn <a href="#tymethod.alloc_data"
class="fn">alloc_data</a>(&mut self, prototype: &DLTensor) -> <a
class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.pointer.html">*mut </a><a
class="enum" href="https://doc.rust-lang.org/1.90.0/core/ffi/enum.c_void.html"
title="enum core::ffi::c_void">c_void</a>;
-<span class="item-spacer"></span> unsafe fn <a href="#tymethod.free_data"
class="fn">free_data</a>(&mut self, tensor: &DLTensor);
+ unsafe fn <a href="#tymethod.alloc_data"
class="fn">alloc_data</a>(&mut self, prototype: &<a class="struct"
href="../../../tvm_ffi_sys/dlpack/struct.DLTensor.html" title="struct
tvm_ffi_sys::dlpack::DLTensor">DLTensor</a>) -> <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.pointer.html">*mut </a><a
class="enum" href="https://doc.rust-lang.org/1.90.0/core/ffi/enum.c_void.html"
title="enum core::ffi::c_void">c_void</a>;
+<span class="item-spacer"></span> unsafe fn <a href="#tymethod.free_data"
class="fn">free_data</a>(&mut self, tensor: &<a class="struct"
href="../../../tvm_ffi_sys/dlpack/struct.DLTensor.html" title="struct
tvm_ffi_sys::dlpack::DLTensor">DLTensor</a>);
}</code></pre><details class="toggle top-doc" open><summary
class="hideme"><span>Expand description</span></summary><div
class="docblock"><p>Trait for n-dimensional array allocators</p>
</div></details><h2 id="required-associated-consts"
class="section-header">Required Associated Constants<a
href="#required-associated-consts" class="anchor">§</a></h2><div
class="methods"><details class="toggle" open><summary><section
id="associatedconstant.MIN_ALIGN" class="method"><a class="src rightside"
href="../../../src/tvm_ffi/collections/tensor.rs.html#34">Source</a><h4
class="code-header">const <a href="#associatedconstant.MIN_ALIGN"
class="constant">MIN_ALIGN</a>: <a class="pri [...]
-</div></details></div><h2 id="required-methods"
class="section-header">Required Methods<a href="#required-methods"
class="anchor">§</a></h2><div class="methods"><details class="toggle
method-toggle" open><summary><section id="tymethod.alloc_data"
class="method"><a class="src rightside"
href="../../../src/tvm_ffi/collections/tensor.rs.html#41">Source</a><h4
class="code-header">unsafe fn <a href="#tymethod.alloc_data"
class="fn">alloc_data</a>(&mut self, prototype: &DLTensor) -> [...]
+</div></details></div><h2 id="required-methods"
class="section-header">Required Methods<a href="#required-methods"
class="anchor">§</a></h2><div class="methods"><details class="toggle
method-toggle" open><summary><section id="tymethod.alloc_data"
class="method"><a class="src rightside"
href="../../../src/tvm_ffi/collections/tensor.rs.html#41">Source</a><h4
class="code-header">unsafe fn <a href="#tymethod.alloc_data"
class="fn">alloc_data</a>(&mut self, prototype: &<a class="struc [...]
<h5 id="arguments"><a class="doc-anchor" href="#arguments">§</a>Arguments</h5>
<ul>
<li><code>tensor</code> - The DLTensor to allocate data for</li>
</ul>
<p>This method should fill in the data pointer of the DLTensor.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="tymethod.free_data" class="method"><a class="src rightside"
href="../../../src/tvm_ffi/collections/tensor.rs.html#49">Source</a><h4
class="code-header">unsafe fn <a href="#tymethod.free_data"
class="fn">free_data</a>(&mut self, tensor:
&DLTensor)</h4></section></summary><div class="docblock"><p>Free data for
the given DLTensor</p>
+</div></details><details class="toggle method-toggle" open><summary><section
id="tymethod.free_data" class="method"><a class="src rightside"
href="../../../src/tvm_ffi/collections/tensor.rs.html#49">Source</a><h4
class="code-header">unsafe fn <a href="#tymethod.free_data"
class="fn">free_data</a>(&mut self, tensor: &<a class="struct"
href="../../../tvm_ffi_sys/dlpack/struct.DLTensor.html" title="struct
tvm_ffi_sys::dlpack::DLTensor">DLTensor</a>)</h4></section></summary><div clas
[...]
<h5 id="arguments-1"><a class="doc-anchor"
href="#arguments-1">§</a>Arguments</h5>
<ul>
<li><code>tensor</code> - The DLTensor to free data for</li>
diff --git a/ffi/reference/rust/generated/tvm_ffi/derive/derive.Object.html
b/ffi/reference/rust/generated/tvm_ffi/derive/derive.Object.html
index ca70db7a05..1000e65cc8 100644
--- a/ffi/reference/rust/generated/tvm_ffi/derive/derive.Object.html
+++ b/ffi/reference/rust/generated/tvm_ffi/derive/derive.Object.html
@@ -1,4 +1,4 @@
-<!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="namespace
to re-export derive macros"><title>Object in tvm_ffi::derive -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans
[...]
+<!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="namespace
to re-export derive macros"><title>Object in tvm_ffi::derive -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans
[...]
{
<span class="comment">// Attributes available to this derive:</span>
#[type_key]
diff --git a/ffi/reference/rust/generated/tvm_ffi/derive/derive.ObjectRef.html
b/ffi/reference/rust/generated/tvm_ffi/derive/derive.ObjectRef.html
index 6256784553..9c64449087 100644
--- a/ffi/reference/rust/generated/tvm_ffi/derive/derive.ObjectRef.html
+++ b/ffi/reference/rust/generated/tvm_ffi/derive/derive.ObjectRef.html
@@ -1,4 +1,4 @@
-<!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="namespace
to re-export derive macros"><title>ObjectRef in tvm_ffi::derive -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraS
[...]
+<!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="namespace
to re-export derive macros"><title>ObjectRef in tvm_ffi::derive -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraS
[...]
{
<span class="comment">// Attributes available to this derive:</span>
#[type_key]
diff --git a/ffi/reference/rust/generated/tvm_ffi/enum.DLDataTypeCode.html
b/ffi/reference/rust/generated/tvm_ffi/enum.DLDataTypeCode.html
index 47a04a7d0b..b9c2825077 100644
--- a/ffi/reference/rust/generated/tvm_ffi/enum.DLDataTypeCode.html
+++ b/ffi/reference/rust/generated/tvm_ffi/enum.DLDataTypeCode.html
@@ -1,4 +1,4 @@
-<!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="DLPack
data type code enum"><title>DLDataTypeCode in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumIta
[...]
+<!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="DLPack
data type code enum"><title>DLDataTypeCode in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumIta
[...]
<details class="toggle type-contents-toggle"><summary
class="hideme"><span>Show 18 variants</span></summary> kDLInt = 0,
kDLUInt = 1,
kDLFloat = 2,
@@ -18,8 +18,8 @@
kDLFloat6_e3m2fn = 16,
kDLFloat4_e2m1fn = 17,
</details>}</code></pre><details class="toggle top-doc" open><summary
class="hideme"><span>Expand description</span></summary><div
class="docblock"><p>DLPack data type code enum</p>
-</div></details><h2 id="variants" class="variants section-header">Variants<a
href="#variants" class="anchor">§</a></h2><div class="variants"><section
id="variant.kDLInt" class="variant"><a href="#variant.kDLInt"
class="anchor">§</a><h3 class="code-header">kDLInt = 0</h3></section><section
id="variant.kDLUInt" class="variant"><a href="#variant.kDLUInt"
class="anchor">§</a><h3 class="code-header">kDLUInt = 1</h3></section><section
id="variant.kDLFloat" class="variant"><a href="#variant.kDL [...]
-and should not be overridden without very good
reason.</div></details></div></details><section
id="impl-Copy-for-DLDataTypeCode" class="impl"><a
href="#impl-Copy-for-DLDataTypeCode" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Copy.html"
title="trait core::marker::Copy">Copy</a> for <a class="enum"
href="enum.DLDataTypeCode.html" title="enum
tvm_ffi::DLDataTypeCode">DLDataTypeCode</a></h3></section><section id= [...]
+</div></details><h2 id="variants" class="variants section-header">Variants<a
href="#variants" class="anchor">§</a></h2><div class="variants"><section
id="variant.kDLInt" class="variant"><a href="#variant.kDLInt"
class="anchor">§</a><h3 class="code-header">kDLInt = 0</h3></section><section
id="variant.kDLUInt" class="variant"><a href="#variant.kDLUInt"
class="anchor">§</a><h3 class="code-header">kDLUInt = 1</h3></section><section
id="variant.kDLFloat" class="variant"><a href="#variant.kDL [...]
+and should not be overridden without very good
reason.</div></details></div></details><section
id="impl-Copy-for-DLDataTypeCode" class="impl"><a class="src rightside"
href="../src/tvm_ffi_sys/dlpack.rs.html#55">Source</a><a
href="#impl-Copy-for-DLDataTypeCode" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Copy.html"
title="trait core::marker::Copy">Copy</a> for <a class="enum"
href="enum.DLDataTypeCode.html" tit [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="
[...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#211">Source</a><a
href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a
href="https://d [...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow_mut" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#218">Source</a><a
href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a
href="h [...]
diff --git a/ffi/reference/rust/generated/tvm_ffi/enum.DLDeviceType.html
b/ffi/reference/rust/generated/tvm_ffi/enum.DLDeviceType.html
index 6f89909034..047407c8b6 100644
--- a/ffi/reference/rust/generated/tvm_ffi/enum.DLDeviceType.html
+++ b/ffi/reference/rust/generated/tvm_ffi/enum.DLDeviceType.html
@@ -1,4 +1,4 @@
-<!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 `DLDeviceType` enum in crate
`tvm_ffi`."><title>DLDeviceType in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans
[...]
+<!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 `DLDeviceType` enum in crate
`tvm_ffi`."><title>DLDeviceType in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans
[...]
<details class="toggle type-contents-toggle"><summary
class="hideme"><span>Show 16 variants</span></summary> kDLCPU = 1,
kDLCUDA = 2,
kDLCUDAHost = 3,
@@ -15,8 +15,8 @@
kDLHexagon = 16,
kDLMAIA = 17,
kDLTrn = 18,
-</details>}</code></pre><h2 id="variants" class="variants
section-header">Variants<a href="#variants" class="anchor">§</a></h2><div
class="variants"><section id="variant.kDLCPU" class="variant"><a
href="#variant.kDLCPU" class="anchor">§</a><h3 class="code-header">kDLCPU =
1</h3></section><section id="variant.kDLCUDA" class="variant"><a
href="#variant.kDLCUDA" class="anchor">§</a><h3 class="code-header">kDLCUDA =
2</h3></section><section id="variant.kDLCUDAHost" class="variant"><a href="#
[...]
-and should not be overridden without very good
reason.</div></details></div></details><section id="impl-Copy-for-DLDeviceType"
class="impl"><a href="#impl-Copy-for-DLDeviceType" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Copy.html"
title="trait core::marker::Copy">Copy</a> for <a class="enum"
href="enum.DLDeviceType.html" title="enum
tvm_ffi::DLDeviceType">DLDeviceType</a></h3></section><section id="impl-Eq-f
[...]
+</details>}</code></pre><h2 id="variants" class="variants
section-header">Variants<a href="#variants" class="anchor">§</a></h2><div
class="variants"><section id="variant.kDLCPU" class="variant"><a
href="#variant.kDLCPU" class="anchor">§</a><h3 class="code-header">kDLCPU =
1</h3></section><section id="variant.kDLCUDA" class="variant"><a
href="#variant.kDLCUDA" class="anchor">§</a><h3 class="code-header">kDLCUDA =
2</h3></section><section id="variant.kDLCUDAHost" class="variant"><a href="#
[...]
+and should not be overridden without very good
reason.</div></details></div></details><section id="impl-Copy-for-DLDeviceType"
class="impl"><a class="src rightside"
href="../src/tvm_ffi_sys/dlpack.rs.html#26">Source</a><a
href="#impl-Copy-for-DLDeviceType" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Copy.html"
title="trait core::marker::Copy">Copy</a> for <a class="enum"
href="enum.DLDeviceType.html" title="en [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="
[...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#211">Source</a><a
href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a
href="https://d [...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow_mut" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#218">Source</a><a
href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a
href="h [...]
diff --git a/ffi/reference/rust/generated/tvm_ffi/enum.TypeIndex.html
b/ffi/reference/rust/generated/tvm_ffi/enum.TypeIndex.html
index 81c2099528..84b6188704 100644
--- a/ffi/reference/rust/generated/tvm_ffi/enum.TypeIndex.html
+++ b/ffi/reference/rust/generated/tvm_ffi/enum.TypeIndex.html
@@ -1,4 +1,4 @@
-<!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="The index
type of the FFI objects"><title>TypeIndex in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumI
[...]
+<!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="The index
type of the FFI objects"><title>TypeIndex in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumI
[...]
<details class="toggle type-contents-toggle"><summary
class="hideme"><span>Show 24 variants</span></summary> kTVMFFINone = 0,
kTVMFFIInt = 1,
kTVMFFIBool = 2,
@@ -48,8 +48,8 @@
</div><section id="variant.kTVMFFIMap" class="variant"><a
href="#variant.kTVMFFIMap" class="anchor">§</a><h3
class="code-header">kTVMFFIMap = 72</h3></section><div class="docblock"><p>Map
object.</p>
</div><section id="variant.kTVMFFIModule" class="variant"><a
href="#variant.kTVMFFIModule" class="anchor">§</a><h3
class="code-header">kTVMFFIModule = 73</h3></section><div
class="docblock"><p>Runtime dynamic loaded module object.</p>
</div><section id="variant.kTVMFFIOpaquePyObject" class="variant"><a
href="#variant.kTVMFFIOpaquePyObject" class="anchor">§</a><h3
class="code-header">kTVMFFIOpaquePyObject = 74</h3></section><div
class="docblock"><p>Opaque python object.</p>
-</div></div><h2 id="trait-implementations" class="section-header">Trait
Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-Clone-for-TVMFFITypeIndex" class="impl"><a
href="#impl-Clone-for-TVMFFITypeIndex" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html"
title="trait core: [...]
-and should not be overridden without very good
reason.</div></details></div></details><section
id="impl-Copy-for-TVMFFITypeIndex" class="impl"><a
href="#impl-Copy-for-TVMFFITypeIndex" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Copy.html"
title="trait core::marker::Copy">Copy</a> for <a class="enum"
href="enum.TypeIndex.html" title="enum
tvm_ffi::TypeIndex">TVMFFITypeIndex</a></h3></section><section id="impl-E [...]
+</div></div><h2 id="trait-implementations" class="section-header">Trait
Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-Clone-for-TVMFFITypeIndex" class="impl"><a
class="src rightside" href="../src/tvm_ffi_sys/c_api.rs.html#31">Source</a><a
href="#impl-Clone-for-TVMFFITypeIndex" class="anchor">§</a><h3
class="code-header">impl <a class="trait" href="ht [...]
+and should not be overridden without very good
reason.</div></details></div></details><section
id="impl-Copy-for-TVMFFITypeIndex" class="impl"><a class="src rightside"
href="../src/tvm_ffi_sys/c_api.rs.html#31">Source</a><a
href="#impl-Copy-for-TVMFFITypeIndex" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Copy.html"
title="trait core::marker::Copy">Copy</a> for <a class="enum"
href="enum.TypeIndex.html" title=" [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="
[...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#211">Source</a><a
href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a
href="https://d [...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow_mut" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#218">Source</a><a
href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a
href="h [...]
diff --git a/ffi/reference/rust/generated/tvm_ffi/function/struct.Function.html
b/ffi/reference/rust/generated/tvm_ffi/function/struct.Function.html
index efbc38145e..3e7b59a3fc 100644
--- a/ffi/reference/rust/generated/tvm_ffi/function/struct.Function.html
+++ b/ffi/reference/rust/generated/tvm_ffi/function/struct.Function.html
@@ -58,7 +58,7 @@ This function will throw an error if the function is not
found.</p>
</ul>
</div></details><section id="method.from_extern_c" class="method"><a
class="src rightside"
href="../../src/tvm_ffi/function.rs.html#253-271">Source</a><h4
class="code-header">pub fn <a href="#method.from_extern_c"
class="fn">from_extern_c</a>(
handle: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.pointer.html">*mut </a><a
class="enum" href="https://doc.rust-lang.org/1.90.0/core/ffi/enum.c_void.html"
title="enum core::ffi::c_void">c_void</a>,
- safe_call: TVMFFISafeCallType,
+ safe_call: <a class="type"
href="../../tvm_ffi_sys/c_api/type.TVMFFISafeCallType.html" title="type
tvm_ffi_sys::c_api::TVMFFISafeCallType">TVMFFISafeCallType</a>,
deleter: <a class="enum"
href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html"
title="enum core::option::Option">Option</a><unsafe extern "C" <a
class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.fn.html">fn</a>(<a
class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.pointer.html">*mut </a><a
class="enum" href="https://doc.rust-lang.org/1.90.0/core/ffi/enum.c_void.html"
title="enum core::ffi::c_void">c_void</a>)>,
) -> Self</h4></section></div></details></div><h2
id="trait-implementations" class="section-header">Trait Implementations<a
href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-AnyCompatible-for-Function" class="impl"><a
class="src rightside" href="../../src/tvm_ffi/function.rs.html#40">Source</a><a
href="#impl-AnyCompatible-for-Function" class="anchor">§</a><h3 class="co [...]
caller must ensure that the value is compatible with the
type</div></details><details class="toggle method-toggle"
open><summary><section id="method.move_to_any" class="method trait-impl"><a
class="src rightside" href="../../src/tvm_ffi/function.rs.html#40">Source</a><a
href="#method.move_to_any" class="anchor">§</a><h4 class="code-header">unsafe
fn <a href="../type_traits/trait.AnyCompatible.html#tymethod.move_to_any"
class="fn">move_to_any</a>(src: Self, data: &mut <a class="struct [...]
diff --git a/ffi/reference/rust/generated/tvm_ffi/index.html
b/ffi/reference/rust/generated/tvm_ffi/index.html
index 716522cd8f..ca0af41dca 100644
--- a/ffi/reference/rust/generated/tvm_ffi/index.html
+++ b/ffi/reference/rust/generated/tvm_ffi/index.html
@@ -1,2 +1,2 @@
-<!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 `tvm_ffi` crate."><title>tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium
[...]
+<!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 `tvm_ffi` crate."><title>tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium
[...]
</dd><dt><a class="macro" href="macro.tvm_ffi_dll_export_typed_func.html"
title="macro
tvm_ffi::tvm_ffi_dll_export_typed_func">tvm_<wbr>ffi_<wbr>dll_<wbr>export_<wbr>typed_<wbr>func</a></dt><dd>Macro
to export a typed function as a C symbol that follows the tvm-ffi
ABI</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs"
class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct"
href="struct.DLDataType.html" title="struct tvm_ffi::DLDataType">DLData<wbr>T
[...]
\ No newline at end of file
diff --git a/ffi/reference/rust/generated/tvm_ffi/object/enum.TypeIndex.html
b/ffi/reference/rust/generated/tvm_ffi/object/enum.TypeIndex.html
index 5d74fca49d..7795309d37 100644
--- a/ffi/reference/rust/generated/tvm_ffi/object/enum.TypeIndex.html
+++ b/ffi/reference/rust/generated/tvm_ffi/object/enum.TypeIndex.html
@@ -1,4 +1,4 @@
-<!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="The index
type of the FFI objects"><title>TypeIndex in tvm_ffi::object -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans
[...]
+<!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="The index
type of the FFI objects"><title>TypeIndex in tvm_ffi::object -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans
[...]
<details class="toggle type-contents-toggle"><summary
class="hideme"><span>Show 24 variants</span></summary> kTVMFFINone = 0,
kTVMFFIInt = 1,
kTVMFFIBool = 2,
@@ -48,8 +48,8 @@
</div><section id="variant.kTVMFFIMap" class="variant"><a
href="#variant.kTVMFFIMap" class="anchor">§</a><h3
class="code-header">kTVMFFIMap = 72</h3></section><div class="docblock"><p>Map
object.</p>
</div><section id="variant.kTVMFFIModule" class="variant"><a
href="#variant.kTVMFFIModule" class="anchor">§</a><h3
class="code-header">kTVMFFIModule = 73</h3></section><div
class="docblock"><p>Runtime dynamic loaded module object.</p>
</div><section id="variant.kTVMFFIOpaquePyObject" class="variant"><a
href="#variant.kTVMFFIOpaquePyObject" class="anchor">§</a><h3
class="code-header">kTVMFFIOpaquePyObject = 74</h3></section><div
class="docblock"><p>Opaque python object.</p>
-</div></div><h2 id="trait-implementations" class="section-header">Trait
Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-Clone-for-TVMFFITypeIndex" class="impl"><a
href="#impl-Clone-for-TVMFFITypeIndex" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html"
title="trait core: [...]
-and should not be overridden without very good
reason.</div></details></div></details><section
id="impl-Copy-for-TVMFFITypeIndex" class="impl"><a
href="#impl-Copy-for-TVMFFITypeIndex" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Copy.html"
title="trait core::marker::Copy">Copy</a> for <a class="enum"
href="../enum.TypeIndex.html" title="enum
tvm_ffi::TypeIndex">TVMFFITypeIndex</a></h3></section><section id="imp [...]
+</div></div><h2 id="trait-implementations" class="section-header">Trait
Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-Clone-for-TVMFFITypeIndex" class="impl"><a
class="src rightside"
href="../../src/tvm_ffi_sys/c_api.rs.html#31">Source</a><a
href="#impl-Clone-for-TVMFFITypeIndex" class="anchor">§</a><h3
class="code-header">impl <a class="trait" href= [...]
+and should not be overridden without very good
reason.</div></details></div></details><section
id="impl-Copy-for-TVMFFITypeIndex" class="impl"><a class="src rightside"
href="../../src/tvm_ffi_sys/c_api.rs.html#31">Source</a><a
href="#impl-Copy-for-TVMFFITypeIndex" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Copy.html"
title="trait core::marker::Copy">Copy</a> for <a class="enum"
href="../enum.TypeIndex.html" t [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="
[...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#211">Source</a><a
href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a
href="https://d [...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow_mut" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#218">Source</a><a
href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a
href="h [...]
diff --git a/ffi/reference/rust/generated/tvm_ffi/struct.DLDataType.html
b/ffi/reference/rust/generated/tvm_ffi/struct.DLDataType.html
index 6829f6b6c3..d900028c70 100644
--- a/ffi/reference/rust/generated/tvm_ffi/struct.DLDataType.html
+++ b/ffi/reference/rust/generated/tvm_ffi/struct.DLDataType.html
@@ -1,9 +1,9 @@
-<!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="DLPack
data type struct"><title>DLDataType in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf
[...]
+<!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="DLPack
data type struct"><title>DLDataType in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf
[...]
pub code: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.u8.html">u8</a>,
pub bits: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.u8.html">u8</a>,
pub lanes: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.u16.html">u16</a>,
}</code></pre><details class="toggle top-doc" open><summary
class="hideme"><span>Expand description</span></summary><div
class="docblock"><p>DLPack data type struct</p>
-</div></details><h2 id="fields" class="fields section-header">Fields<a
href="#fields" class="anchor">§</a></h2><span id="structfield.code"
class="structfield section-header"><a href="#structfield.code" class="anchor
field">§</a><code>code: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.u8.html">u8</a></code></span><span
id="structfield.bits" class="structfield section-header"><a
href="#structfield.bits" class="anchor field">§</a><code>bits: <a
class="primitive" [...]
+</div></details><h2 id="fields" class="fields section-header">Fields<a
href="#fields" class="anchor">§</a></h2><span id="structfield.code"
class="structfield section-header"><a href="#structfield.code" class="anchor
field">§</a><code>code: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.u8.html">u8</a></code></span><span
id="structfield.bits" class="structfield section-header"><a
href="#structfield.bits" class="anchor field">§</a><code>bits: <a
class="primitive" [...]
</div></section></summary><div class="docblock"><p>This implementation allows
DLDataType to be used with the TVM FFI Any system,
enabling type-safe conversion between DLDataType and the generic Any type.</p>
</div><div class="impl-items"><details class="toggle method-toggle"
open><summary><section id="method.type_str" class="method trait-impl"><a
class="src rightside" href="../src/tvm_ffi/dtype.rs.html#86-89">Source</a><a
href="#method.type_str" class="anchor">§</a><h4 class="code-header">fn <a
href="type_traits/trait.AnyCompatible.html#tymethod.type_str"
class="fn">type_str</a>() -> <a class="struct"
href="https://doc.rust-lang.org/1.90.0/alloc/string/struct.String.html"
title="struct al [...]
@@ -57,8 +57,8 @@ enabling type-safe conversion between DLDataType and the
generic Any type.</p>
<li><code>Ok(DLDataType)</code> - Successfully cast to DLDataType</li>
<li><code>Err(())</code> - Failed to cast (wrong type or invalid string)</li>
</ul>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.get_mismatch_type_info" class="method trait-impl"><a class="src
rightside" href="../src/tvm_ffi/type_traits.rs.html#45-51">Source</a><a
href="#method.get_mismatch_type_info" class="anchor">§</a><h4
class="code-header">fn <a
href="type_traits/trait.AnyCompatible.html#method.get_mismatch_type_info"
class="fn">get_mismatch_type_info</a>(data: &<a class="struct"
href="struct.TVMFFIAny.html" title="str [...]
-and should not be overridden without very good
reason.</div></details></div></details><details class="toggle
implementors-toggle" open><summary><section
id="impl-TryFrom%3CAny%3E-for-DLDataType" class="impl"><a class="src rightside"
href="../src/tvm_ffi/any.rs.html#312-333">Source</a><a
href="#impl-TryFrom%3CAny%3E-for-DLDataType" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html"
title="trait core::co [...]
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.get_mismatch_type_info" class="method trait-impl"><a class="src
rightside" href="../src/tvm_ffi/type_traits.rs.html#45-51">Source</a><a
href="#method.get_mismatch_type_info" class="anchor">§</a><h4
class="code-header">fn <a
href="type_traits/trait.AnyCompatible.html#method.get_mismatch_type_info"
class="fn">get_mismatch_type_info</a>(data: &<a class="struct"
href="struct.TVMFFIAny.html" title="str [...]
+and should not be overridden without very good
reason.</div></details></div></details><details class="toggle
implementors-toggle" open><summary><section
id="impl-TryFrom%3CAny%3E-for-DLDataType" class="impl"><a class="src rightside"
href="../src/tvm_ffi/any.rs.html#312-333">Source</a><a
href="#impl-TryFrom%3CAny%3E-for-DLDataType" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html"
title="trait core::co [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="
[...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#211">Source</a><a
href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a
href="https://d [...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow_mut" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#218">Source</a><a
href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a
href="h [...]
diff --git a/ffi/reference/rust/generated/tvm_ffi/struct.DLDevice.html
b/ffi/reference/rust/generated/tvm_ffi/struct.DLDevice.html
index 884992efa8..6a1acef818 100644
--- a/ffi/reference/rust/generated/tvm_ffi/struct.DLDevice.html
+++ b/ffi/reference/rust/generated/tvm_ffi/struct.DLDevice.html
@@ -1,11 +1,11 @@
-<!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 `DLDevice` struct in crate
`tvm_ffi`."><title>DLDevice in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regul
[...]
+<!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 `DLDevice` struct in crate
`tvm_ffi`."><title>DLDevice in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regul
[...]
pub device_type: <a class="enum" href="enum.DLDeviceType.html" title="enum
tvm_ffi::DLDeviceType">DLDeviceType</a>,
pub device_id: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.i32.html">i32</a>,
-}</code></pre><h2 id="fields" class="fields section-header">Fields<a
href="#fields" class="anchor">§</a></h2><span id="structfield.device_type"
class="structfield section-header"><a href="#structfield.device_type"
class="anchor field">§</a><code>device_type: <a class="enum"
href="enum.DLDeviceType.html" title="enum
tvm_ffi::DLDeviceType">DLDeviceType</a></code></span><span
id="structfield.device_id" class="structfield section-header"><a
href="#structfield.device_id" class="anchor field"> [...]
+}</code></pre><h2 id="fields" class="fields section-header">Fields<a
href="#fields" class="anchor">§</a></h2><span id="structfield.device_type"
class="structfield section-header"><a href="#structfield.device_type"
class="anchor field">§</a><code>device_type: <a class="enum"
href="enum.DLDeviceType.html" title="enum
tvm_ffi::DLDeviceType">DLDeviceType</a></code></span><span
id="structfield.device_id" class="structfield section-header"><a
href="#structfield.device_id" class="anchor field"> [...]
</div></section></summary><div class="impl-items"><details class="toggle
method-toggle" open><summary><section id="method.type_str" class="method
trait-impl"><a class="src rightside"
href="../src/tvm_ffi/device.rs.html#58-61">Source</a><a href="#method.type_str"
class="anchor">§</a><h4 class="code-header">fn <a
href="type_traits/trait.AnyCompatible.html#tymethod.type_str"
class="fn">type_str</a>() -> <a class="struct"
href="https://doc.rust-lang.org/1.90.0/alloc/string/struct.String.h [...]
caller must ensure that the value is compatible with the
type</div></details><details class="toggle method-toggle"
open><summary><section id="method.move_from_any_after_check" class="method
trait-impl"><a class="src rightside"
href="../src/tvm_ffi/device.rs.html#85-87">Source</a><a
href="#method.move_from_any_after_check" class="anchor">§</a><h4
class="code-header">unsafe fn <a
href="type_traits/trait.AnyCompatible.html#tymethod.move_from_any_after_check"
class="fn">move_from_any_after_c [...]
-NOTE: pay very careful attention to avoid memory leak! <a
href="type_traits/trait.AnyCompatible.html#tymethod.move_from_any_after_check">Read
more</a></div></details><details class="toggle method-toggle"
open><summary><section id="method.try_cast_from_any_view" class="method
trait-impl"><a class="src rightside"
href="../src/tvm_ffi/device.rs.html#89-95">Source</a><a
href="#method.try_cast_from_any_view" class="anchor">§</a><h4
class="code-header">unsafe fn <a href="type_traits/trait.AnyC [...]
-and should not be overridden without very good
reason.</div></details></div></details><details class="toggle
implementors-toggle" open><summary><section
id="impl-TryFrom%3CAny%3E-for-DLDevice" class="impl"><a class="src rightside"
href="../src/tvm_ffi/any.rs.html#312-333">Source</a><a
href="#impl-TryFrom%3CAny%3E-for-DLDevice" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html"
title="trait core::conver [...]
+NOTE: pay very careful attention to avoid memory leak! <a
href="type_traits/trait.AnyCompatible.html#tymethod.move_from_any_after_check">Read
more</a></div></details><details class="toggle method-toggle"
open><summary><section id="method.try_cast_from_any_view" class="method
trait-impl"><a class="src rightside"
href="../src/tvm_ffi/device.rs.html#89-95">Source</a><a
href="#method.try_cast_from_any_view" class="anchor">§</a><h4
class="code-header">unsafe fn <a href="type_traits/trait.AnyC [...]
+and should not be overridden without very good
reason.</div></details></div></details><details class="toggle
implementors-toggle" open><summary><section
id="impl-TryFrom%3CAny%3E-for-DLDevice" class="impl"><a class="src rightside"
href="../src/tvm_ffi/any.rs.html#312-333">Source</a><a
href="#impl-TryFrom%3CAny%3E-for-DLDevice" class="anchor">§</a><h3
class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html"
title="trait core::conver [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="
[...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#211">Source</a><a
href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a
href="https://d [...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow_mut" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#218">Source</a><a
href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a
href="h [...]
diff --git a/ffi/reference/rust/generated/tvm_ffi/struct.TVMFFIAny.html
b/ffi/reference/rust/generated/tvm_ffi/struct.TVMFFIAny.html
index 3a61b17d78..b5c513db22 100644
--- a/ffi/reference/rust/generated/tvm_ffi/struct.TVMFFIAny.html
+++ b/ffi/reference/rust/generated/tvm_ffi/struct.TVMFFIAny.html
@@ -1,14 +1,14 @@
-<!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="TVM FFI
Any value - a union type that can hold various data types"><title>TVMFFIAny in
tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular
[...]
+<!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="TVM FFI
Any value - a union type that can hold various data types"><title>TVMFFIAny in
tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular
[...]
pub type_index: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.i32.html">i32</a>,
pub small_str_len: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.u32.html">u32</a>,
- pub data_union: TVMFFIAnyDataUnion,
+ pub data_union: <a class="union"
href="../tvm_ffi_sys/c_api/union.TVMFFIAnyDataUnion.html" title="union
tvm_ffi_sys::c_api::TVMFFIAnyDataUnion">TVMFFIAnyDataUnion</a>,
}</code></pre><details class="toggle top-doc" open><summary
class="hideme"><span>Expand description</span></summary><div
class="docblock"><p>TVM FFI Any value - a union type that can hold various data
types</p>
</div></details><h2 id="fields" class="fields section-header">Fields<a
href="#fields" class="anchor">§</a></h2><span id="structfield.type_index"
class="structfield section-header"><a href="#structfield.type_index"
class="anchor field">§</a><code>type_index: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.i32.html">i32</a></code></span><div
class="docblock"><p>Type index of the object.
The type index of Object and Any are shared in FFI.</p>
</div><span id="structfield.small_str_len" class="structfield
section-header"><a href="#structfield.small_str_len" class="anchor
field">§</a><code>small_str_len: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.u32.html">u32</a></code></span><div
class="docblock"><p>small string length or zero padding</p>
-</div><span id="structfield.data_union" class="structfield section-header"><a
href="#structfield.data_union" class="anchor field">§</a><code>data_union:
TVMFFIAnyDataUnion</code></span><div class="docblock"><p>data union - 8
bytes</p>
-</div><h2 id="implementations" class="section-header">Implementations<a
href="#implementations" class="anchor">§</a></h2><div
id="implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-TVMFFIAny" class="impl"><a
href="#impl-TVMFFIAny" class="anchor">§</a><h3 class="code-header">impl <a
class="struct" href="struct.TVMFFIAny.html" title="struct
tvm_ffi::TVMFFIAny">TVMFFIAny</a></h3></section></summary><div
class="impl-items"><details class="toggle [...]
-</div></details></div></details></div><h2 id="trait-implementations"
class="section-header">Trait Implementations<a href="#trait-implementations"
class="anchor">§</a></h2><div id="trait-implementations-list"><details
class="toggle implementors-toggle" open><summary><section
id="impl-Clone-for-TVMFFIAny" class="impl"><a href="#impl-Clone-for-TVMFFIAny"
class="anchor">§</a><h3 class="code-header">impl <a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html" titl [...]
+</div><span id="structfield.data_union" class="structfield section-header"><a
href="#structfield.data_union" class="anchor field">§</a><code>data_union: <a
class="union" href="../tvm_ffi_sys/c_api/union.TVMFFIAnyDataUnion.html"
title="union
tvm_ffi_sys::c_api::TVMFFIAnyDataUnion">TVMFFIAnyDataUnion</a></code></span><div
class="docblock"><p>data union - 8 bytes</p>
+</div><h2 id="implementations" class="section-header">Implementations<a
href="#implementations" class="anchor">§</a></h2><div
id="implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-TVMFFIAny" class="impl"><a class="src
rightside" href="../src/tvm_ffi_sys/c_api.rs.html#164">Source</a><a
href="#impl-TVMFFIAny" class="anchor">§</a><h3 class="code-header">impl <a
class="struct" href="struct.TVMFFIAny.html" title="struct
tvm_ffi::TVMFFIAny">TVMFF [...]
+</div></details></div></details></div><h2 id="trait-implementations"
class="section-header">Trait Implementations<a href="#trait-implementations"
class="anchor">§</a></h2><div id="trait-implementations-list"><details
class="toggle implementors-toggle" open><summary><section
id="impl-Clone-for-TVMFFIAny" class="impl"><a class="src rightside"
href="../src/tvm_ffi_sys/c_api.rs.html#153">Source</a><a
href="#impl-Clone-for-TVMFFIAny" class="anchor">§</a><h3
class="code-header">impl <a class=" [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="
[...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#211">Source</a><a
href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a
href="https://d [...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow_mut" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#218">Source</a><a
href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a
href="h [...]
diff --git a/ffi/reference/rust/generated/tvm_ffi/struct.TVMFFIObject.html
b/ffi/reference/rust/generated/tvm_ffi/struct.TVMFFIObject.html
index 0f355c8774..b950476d6c 100644
--- a/ffi/reference/rust/generated/tvm_ffi/struct.TVMFFIObject.html
+++ b/ffi/reference/rust/generated/tvm_ffi/struct.TVMFFIObject.html
@@ -1,9 +1,9 @@
-<!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 `TVMFFIObject` struct in crate
`tvm_ffi`."><title>TVMFFIObject in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSa
[...]
+<!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 `TVMFFIObject` struct in crate
`tvm_ffi`."><title>TVMFFIObject in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSa
[...]
pub combined_ref_count: <a class="struct"
href="https://doc.rust-lang.org/1.90.0/core/sync/atomic/struct.AtomicU64.html"
title="struct core::sync::atomic::AtomicU64">AtomicU64</a>,
pub type_index: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.i32.html">i32</a>,
pub __padding: <a class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.u32.html">u32</a>,
pub deleter: <a class="enum"
href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html"
title="enum core::option::Option">Option</a><unsafe extern "C" <a
class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.fn.html">fn</a>(<a
class="primitive"
href="https://doc.rust-lang.org/1.90.0/std/primitive.pointer.html">*mut </a><a
class="enum" href="https://doc.rust-lang.org/1.90.0/core/ffi/enum.c_void.html"
title="enum core::ffi::c_void">c_void</a>, <a [...]
-}</code></pre><h2 id="fields" class="fields section-header">Fields<a
href="#fields" class="anchor">§</a></h2><span
id="structfield.combined_ref_count" class="structfield section-header"><a
href="#structfield.combined_ref_count" class="anchor
field">§</a><code>combined_ref_count: <a class="struct"
href="https://doc.rust-lang.org/1.90.0/core/sync/atomic/struct.AtomicU64.html"
title="struct core::sync::atomic::AtomicU64">AtomicU64</a></code></span><span
id="structfield.type_index" class="st [...]
+}</code></pre><h2 id="fields" class="fields section-header">Fields<a
href="#fields" class="anchor">§</a></h2><span
id="structfield.combined_ref_count" class="structfield section-header"><a
href="#structfield.combined_ref_count" class="anchor
field">§</a><code>combined_ref_count: <a class="struct"
href="https://doc.rust-lang.org/1.90.0/core/sync/atomic/struct.AtomicU64.html"
title="struct core::sync::atomic::AtomicU64">AtomicU64</a></code></span><span
id="structfield.type_index" class="st [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/any.rs.html#139">Source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="
[...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#211">Source</a><a
href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a
href="https://d [...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html"
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow_mut" class="method trait-impl"><a class="src rightside"
href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#218">Source</a><a
href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a
href="h [...]
diff --git a/ffi/reference/rust/generated/tvm_ffi/type.TVMFFIStreamHandle.html
b/ffi/reference/rust/generated/tvm_ffi/type.TVMFFIStreamHandle.html
index b743ab54ae..eb1723b75d 100644
--- a/ffi/reference/rust/generated/tvm_ffi/type.TVMFFIStreamHandle.html
+++ b/ffi/reference/rust/generated/tvm_ffi/type.TVMFFIStreamHandle.html
@@ -1,2 +1,2 @@
-<!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="The type
of the stream handle."><title>TVMFFIStreamHandle in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-M
[...]
+<!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="The type
of the stream handle."><title>TVMFFIStreamHandle in tvm_ffi -
Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-M
[...]
</div></details></section></div></main></body></html>
\ No newline at end of file