Files
phy/gltf_json/root/struct.Root.html
Orion Kindel 0ce894e6b0 doc
2025-03-18 10:30:23 -05:00

82 lines
126 KiB
HTML

<!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 root object of a glTF 2.0 asset."><title>Root in gltf_json::root - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="gltf_json" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../gltf_json/index.html">gltf_<wbr>json</a><span class="version">1.4.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Root</a></h2><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.accessors" title="accessors">accessors</a></li><li><a href="#structfield.animations" title="animations">animations</a></li><li><a href="#structfield.asset" title="asset">asset</a></li><li><a href="#structfield.buffer_views" title="buffer_views">buffer_views</a></li><li><a href="#structfield.buffers" title="buffers">buffers</a></li><li><a href="#structfield.cameras" title="cameras">cameras</a></li><li><a href="#structfield.extensions" title="extensions">extensions</a></li><li><a href="#structfield.extensions_required" title="extensions_required">extensions_required</a></li><li><a href="#structfield.extensions_used" title="extensions_used">extensions_used</a></li><li><a href="#structfield.extras" title="extras">extras</a></li><li><a href="#structfield.images" title="images">images</a></li><li><a href="#structfield.materials" title="materials">materials</a></li><li><a href="#structfield.meshes" title="meshes">meshes</a></li><li><a href="#structfield.nodes" title="nodes">nodes</a></li><li><a href="#structfield.samplers" title="samplers">samplers</a></li><li><a href="#structfield.scene" title="scene">scene</a></li><li><a href="#structfield.scenes" title="scenes">scenes</a></li><li><a href="#structfield.skins" title="skins">skins</a></li><li><a href="#structfield.textures" title="textures">textures</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.from_reader" title="from_reader">from_reader</a></li><li><a href="#method.from_slice" title="from_slice">from_slice</a></li><li><a href="#method.from_str" title="from_str">from_str</a></li><li><a href="#method.get" title="get">get</a></li><li><a href="#method.push" title="push">push</a></li><li><a href="#method.to_string" title="to_string">to_string</a></li><li><a href="#method.to_string_pretty" title="to_string_pretty">to_string_pretty</a></li><li><a href="#method.to_value" title="to_value">to_value</a></li><li><a href="#method.to_vec" title="to_vec">to_vec</a></li><li><a href="#method.to_vec_pretty" title="to_vec_pretty">to_vec_pretty</a></li><li><a href="#method.to_writer" title="to_writer">to_writer</a></li><li><a href="#method.to_writer_pretty" title="to_writer_pretty">to_writer_pretty</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-AsMut%3CVec%3CAccessor%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Accessor&#62;&#62;">AsMut&#60;Vec&#60;Accessor&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CAnimation%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Animation&#62;&#62;">AsMut&#60;Vec&#60;Animation&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CBuffer%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Buffer&#62;&#62;">AsMut&#60;Vec&#60;Buffer&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CCamera%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Camera&#62;&#62;">AsMut&#60;Vec&#60;Camera&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CImage%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Image&#62;&#62;">AsMut&#60;Vec&#60;Image&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CLight%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Light&#62;&#62;">AsMut&#60;Vec&#60;Light&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CMaterial%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Material&#62;&#62;">AsMut&#60;Vec&#60;Material&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CMesh%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Mesh&#62;&#62;">AsMut&#60;Vec&#60;Mesh&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CNode%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Node&#62;&#62;">AsMut&#60;Vec&#60;Node&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CSampler%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Sampler&#62;&#62;">AsMut&#60;Vec&#60;Sampler&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CScene%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Scene&#62;&#62;">AsMut&#60;Vec&#60;Scene&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CSkin%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Skin&#62;&#62;">AsMut&#60;Vec&#60;Skin&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CTexture%3E%3E-for-Root" title="AsMut&#60;Vec&#60;Texture&#62;&#62;">AsMut&#60;Vec&#60;Texture&#62;&#62;</a></li><li><a href="#impl-AsMut%3CVec%3CView%3E%3E-for-Root" title="AsMut&#60;Vec&#60;View&#62;&#62;">AsMut&#60;Vec&#60;View&#62;&#62;</a></li><li><a href="#impl-AsRef%3C%5BAccessor%5D%3E-for-Root" title="AsRef&#60;[Accessor]&#62;">AsRef&#60;[Accessor]&#62;</a></li><li><a href="#impl-AsRef%3C%5BAnimation%5D%3E-for-Root" title="AsRef&#60;[Animation]&#62;">AsRef&#60;[Animation]&#62;</a></li><li><a href="#impl-AsRef%3C%5BBuffer%5D%3E-for-Root" title="AsRef&#60;[Buffer]&#62;">AsRef&#60;[Buffer]&#62;</a></li><li><a href="#impl-AsRef%3C%5BCamera%5D%3E-for-Root" title="AsRef&#60;[Camera]&#62;">AsRef&#60;[Camera]&#62;</a></li><li><a href="#impl-AsRef%3C%5BImage%5D%3E-for-Root" title="AsRef&#60;[Image]&#62;">AsRef&#60;[Image]&#62;</a></li><li><a href="#impl-AsRef%3C%5BLight%5D%3E-for-Root" title="AsRef&#60;[Light]&#62;">AsRef&#60;[Light]&#62;</a></li><li><a href="#impl-AsRef%3C%5BMaterial%5D%3E-for-Root" title="AsRef&#60;[Material]&#62;">AsRef&#60;[Material]&#62;</a></li><li><a href="#impl-AsRef%3C%5BMesh%5D%3E-for-Root" title="AsRef&#60;[Mesh]&#62;">AsRef&#60;[Mesh]&#62;</a></li><li><a href="#impl-AsRef%3C%5BNode%5D%3E-for-Root" title="AsRef&#60;[Node]&#62;">AsRef&#60;[Node]&#62;</a></li><li><a href="#impl-AsRef%3C%5BSampler%5D%3E-for-Root" title="AsRef&#60;[Sampler]&#62;">AsRef&#60;[Sampler]&#62;</a></li><li><a href="#impl-AsRef%3C%5BScene%5D%3E-for-Root" title="AsRef&#60;[Scene]&#62;">AsRef&#60;[Scene]&#62;</a></li><li><a href="#impl-AsRef%3C%5BSkin%5D%3E-for-Root" title="AsRef&#60;[Skin]&#62;">AsRef&#60;[Skin]&#62;</a></li><li><a href="#impl-AsRef%3C%5BTexture%5D%3E-for-Root" title="AsRef&#60;[Texture]&#62;">AsRef&#60;[Texture]&#62;</a></li><li><a href="#impl-AsRef%3C%5BView%5D%3E-for-Root" title="AsRef&#60;[View]&#62;">AsRef&#60;[View]&#62;</a></li><li><a href="#impl-Clone-for-Root" title="Clone">Clone</a></li><li><a href="#impl-Debug-for-Root" title="Debug">Debug</a></li><li><a href="#impl-Default-for-Root" title="Default">Default</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-Root" title="Deserialize&#60;&#39;de&#62;">Deserialize&#60;&#39;de&#62;</a></li><li><a href="#impl-Get%3CAccessor%3E-for-Root" title="Get&#60;Accessor&#62;">Get&#60;Accessor&#62;</a></li><li><a href="#impl-Get%3CAnimation%3E-for-Root" title="Get&#60;Animation&#62;">Get&#60;Animation&#62;</a></li><li><a href="#impl-Get%3CBuffer%3E-for-Root" title="Get&#60;Buffer&#62;">Get&#60;Buffer&#62;</a></li><li><a href="#impl-Get%3CCamera%3E-for-Root" title="Get&#60;Camera&#62;">Get&#60;Camera&#62;</a></li><li><a href="#impl-Get%3CImage%3E-for-Root" title="Get&#60;Image&#62;">Get&#60;Image&#62;</a></li><li><a href="#impl-Get%3CLight%3E-for-Root" title="Get&#60;Light&#62;">Get&#60;Light&#62;</a></li><li><a href="#impl-Get%3CMaterial%3E-for-Root" title="Get&#60;Material&#62;">Get&#60;Material&#62;</a></li><li><a href="#impl-Get%3CMesh%3E-for-Root" title="Get&#60;Mesh&#62;">Get&#60;Mesh&#62;</a></li><li><a href="#impl-Get%3CNode%3E-for-Root" title="Get&#60;Node&#62;">Get&#60;Node&#62;</a></li><li><a href="#impl-Get%3CSampler%3E-for-Root" title="Get&#60;Sampler&#62;">Get&#60;Sampler&#62;</a></li><li><a href="#impl-Get%3CScene%3E-for-Root" title="Get&#60;Scene&#62;">Get&#60;Scene&#62;</a></li><li><a href="#impl-Get%3CSkin%3E-for-Root" title="Get&#60;Skin&#62;">Get&#60;Skin&#62;</a></li><li><a href="#impl-Get%3CTexture%3E-for-Root" title="Get&#60;Texture&#62;">Get&#60;Texture&#62;</a></li><li><a href="#impl-Get%3CView%3E-for-Root" title="Get&#60;View&#62;">Get&#60;View&#62;</a></li><li><a href="#impl-Serialize-for-Root" title="Serialize">Serialize</a></li><li><a href="#impl-Validate-for-Root" title="Validate">Validate</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Root" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Root" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Root" title="Send">Send</a></li><li><a href="#impl-Sync-for-Root" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Root" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Root" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-DeserializeOwned-for-T" title="DeserializeOwned">DeserializeOwned</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In gltf_<wbr>json::<wbr>root</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">gltf_json</a>::<wbr><a href="index.html">root</a></span><h1>Struct <span class="struct">Root</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/gltf_json/root.rs.html#61-153">Source</a> </span></div><pre class="rust item-decl"><code>pub struct Root {<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 19 fields</span></summary>
pub accessors: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Accessor.html" title="struct gltf_json::Accessor">Accessor</a>&gt;,
pub animations: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Animation.html" title="struct gltf_json::Animation">Animation</a>&gt;,
pub asset: <a class="struct" href="../struct.Asset.html" title="struct gltf_json::Asset">Asset</a>,
pub buffers: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Buffer.html" title="struct gltf_json::Buffer">Buffer</a>&gt;,
pub buffer_views: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../buffer/struct.View.html" title="struct gltf_json::buffer::View">View</a>&gt;,
pub scene: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Scene.html" title="struct gltf_json::Scene">Scene</a>&gt;&gt;,
pub extensions: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../extensions/root/struct.Root.html" title="struct gltf_json::extensions::root::Root">Root</a>&gt;,
pub extras: <a class="type" href="../type.Extras.html" title="type gltf_json::Extras">Extras</a>,
pub extensions_used: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
pub extensions_required: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
pub cameras: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Camera.html" title="struct gltf_json::Camera">Camera</a>&gt;,
pub images: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Image.html" title="struct gltf_json::Image">Image</a>&gt;,
pub materials: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Material.html" title="struct gltf_json::Material">Material</a>&gt;,
pub meshes: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Mesh.html" title="struct gltf_json::Mesh">Mesh</a>&gt;,
pub nodes: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Node.html" title="struct gltf_json::Node">Node</a>&gt;,
pub samplers: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../texture/struct.Sampler.html" title="struct gltf_json::texture::Sampler">Sampler</a>&gt;,
pub scenes: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Scene.html" title="struct gltf_json::Scene">Scene</a>&gt;,
pub skins: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Skin.html" title="struct gltf_json::Skin">Skin</a>&gt;,
pub textures: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Texture.html" title="struct gltf_json::Texture">Texture</a>&gt;,
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The root object of a glTF 2.0 asset.</p>
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.accessors" class="structfield section-header"><a href="#structfield.accessors" class="anchor field">§</a><code>accessors: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Accessor.html" title="struct gltf_json::Accessor">Accessor</a>&gt;</code></span><div class="docblock"><p>An array of accessors.</p>
</div><span id="structfield.animations" class="structfield section-header"><a href="#structfield.animations" class="anchor field">§</a><code>animations: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Animation.html" title="struct gltf_json::Animation">Animation</a>&gt;</code></span><div class="docblock"><p>An array of keyframe animations.</p>
</div><span id="structfield.asset" class="structfield section-header"><a href="#structfield.asset" class="anchor field">§</a><code>asset: <a class="struct" href="../struct.Asset.html" title="struct gltf_json::Asset">Asset</a></code></span><div class="docblock"><p>Metadata about the glTF asset.</p>
</div><span id="structfield.buffers" class="structfield section-header"><a href="#structfield.buffers" class="anchor field">§</a><code>buffers: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Buffer.html" title="struct gltf_json::Buffer">Buffer</a>&gt;</code></span><div class="docblock"><p>An array of buffers.</p>
</div><span id="structfield.buffer_views" class="structfield section-header"><a href="#structfield.buffer_views" class="anchor field">§</a><code>buffer_views: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../buffer/struct.View.html" title="struct gltf_json::buffer::View">View</a>&gt;</code></span><div class="docblock"><p>An array of buffer views.</p>
</div><span id="structfield.scene" class="structfield section-header"><a href="#structfield.scene" class="anchor field">§</a><code>scene: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Scene.html" title="struct gltf_json::Scene">Scene</a>&gt;&gt;</code></span><div class="docblock"><p>The default scene.</p>
</div><span id="structfield.extensions" class="structfield section-header"><a href="#structfield.extensions" class="anchor field">§</a><code>extensions: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../extensions/root/struct.Root.html" title="struct gltf_json::extensions::root::Root">Root</a>&gt;</code></span><div class="docblock"><p>Extension specific data.</p>
</div><span id="structfield.extras" class="structfield section-header"><a href="#structfield.extras" class="anchor field">§</a><code>extras: <a class="type" href="../type.Extras.html" title="type gltf_json::Extras">Extras</a></code></span><div class="docblock"><p>Optional application specific data.</p>
</div><span id="structfield.extensions_used" class="structfield section-header"><a href="#structfield.extensions_used" class="anchor field">§</a><code>extensions_used: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></span><div class="docblock"><p>Names of glTF extensions used somewhere in this asset.</p>
</div><span id="structfield.extensions_required" class="structfield section-header"><a href="#structfield.extensions_required" class="anchor field">§</a><code>extensions_required: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></span><div class="docblock"><p>Names of glTF extensions required to properly load this asset.</p>
</div><span id="structfield.cameras" class="structfield section-header"><a href="#structfield.cameras" class="anchor field">§</a><code>cameras: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Camera.html" title="struct gltf_json::Camera">Camera</a>&gt;</code></span><div class="docblock"><p>An array of cameras.</p>
</div><span id="structfield.images" class="structfield section-header"><a href="#structfield.images" class="anchor field">§</a><code>images: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Image.html" title="struct gltf_json::Image">Image</a>&gt;</code></span><div class="docblock"><p>An array of images.</p>
</div><span id="structfield.materials" class="structfield section-header"><a href="#structfield.materials" class="anchor field">§</a><code>materials: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Material.html" title="struct gltf_json::Material">Material</a>&gt;</code></span><div class="docblock"><p>An array of materials.</p>
</div><span id="structfield.meshes" class="structfield section-header"><a href="#structfield.meshes" class="anchor field">§</a><code>meshes: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Mesh.html" title="struct gltf_json::Mesh">Mesh</a>&gt;</code></span><div class="docblock"><p>An array of meshes.</p>
</div><span id="structfield.nodes" class="structfield section-header"><a href="#structfield.nodes" class="anchor field">§</a><code>nodes: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Node.html" title="struct gltf_json::Node">Node</a>&gt;</code></span><div class="docblock"><p>An array of nodes.</p>
</div><span id="structfield.samplers" class="structfield section-header"><a href="#structfield.samplers" class="anchor field">§</a><code>samplers: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../texture/struct.Sampler.html" title="struct gltf_json::texture::Sampler">Sampler</a>&gt;</code></span><div class="docblock"><p>An array of samplers.</p>
</div><span id="structfield.scenes" class="structfield section-header"><a href="#structfield.scenes" class="anchor field">§</a><code>scenes: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Scene.html" title="struct gltf_json::Scene">Scene</a>&gt;</code></span><div class="docblock"><p>An array of scenes.</p>
</div><span id="structfield.skins" class="structfield section-header"><a href="#structfield.skins" class="anchor field">§</a><code>skins: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Skin.html" title="struct gltf_json::Skin">Skin</a>&gt;</code></span><div class="docblock"><p>An array of skins.</p>
</div><span id="structfield.textures" class="structfield section-header"><a href="#structfield.textures" class="anchor field">§</a><code>textures: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Texture.html" title="struct gltf_json::Texture">Texture</a>&gt;</code></span><div class="docblock"><p>An array of textures.</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-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#175-263">Source</a><a href="#impl-Root" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#177-182">Source</a><h4 class="code-header">pub fn <a href="#method.get" class="fn">get</a>&lt;T&gt;(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;T&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;T</a>&gt;<div class="where">where
Self: <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;T&gt;,</div></h4></section></summary><div class="docblock"><p>Returns a single item from the root object.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.push" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#197-202">Source</a><h4 class="code-header">pub fn <a href="#method.push" class="fn">push</a>&lt;T&gt;(&amp;mut self, value: T) -&gt; <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;T&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;T&gt;&gt;,</div></h4></section></summary><div class="docblock"><p>Insert the given value into this (as via <a href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html#method.push" title="method alloc::vec::Vec::push"><code>Vec::push()</code></a>), then return the <a href="../struct.Index.html" title="struct gltf_json::Index"><code>Index</code></a> to it.</p>
<p>This allows you to easily obtain <a href="../struct.Index.html" title="struct gltf_json::Index"><code>Index</code></a> values with the correct index and type when
creating a glTF asset.</p>
<p>If you have a mutable borrow conflict when using this method, consider using the more
explicit <a href="../struct.Index.html#method.push" title="associated function gltf_json::Index::push"><code>Index::push()</code></a> method, passing it only the necessary vector.</p>
<h5 id="panics"><a class="doc-anchor" href="#panics">§</a>Panics</h5>
<p>Panics if there are already <a href="https://doc.rust-lang.org/1.84.0/std/primitive.u32.html#associatedconstant.MAX" title="associated constant u32::MAX"><code>u32::MAX</code></a> or more elements of this type,
in which case an <code>Index</code> cannot be created.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_str" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#206-208">Source</a><h4 class="code-header">pub fn <a href="#method.from_str" class="fn">from_str</a>(str_: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="struct" href="../struct.Error.html" title="struct gltf_json::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Deserialize from a JSON string slice.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_slice" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#211-213">Source</a><h4 class="code-header">pub fn <a href="#method.from_slice" class="fn">from_slice</a>(slice: &amp;[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>]) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="struct" href="../struct.Error.html" title="struct gltf_json::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Deserialize from a JSON byte slice.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_reader" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#216-221">Source</a><h4 class="code-header">pub fn <a href="#method.from_reader" class="fn">from_reader</a>&lt;R&gt;(reader: R) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="struct" href="../struct.Error.html" title="struct gltf_json::Error">Error</a>&gt;<div class="where">where
R: <a class="trait" href="https://doc.rust-lang.org/1.84.0/std/io/trait.Read.html" title="trait std::io::Read">Read</a>,</div></h4></section></summary><div class="docblock"><p>Deserialize from a stream of JSON.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_string" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#224-226">Source</a><h4 class="code-header">pub fn <a href="#method.to_string" class="fn">to_string</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../struct.Error.html" title="struct gltf_json::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Serialize as a <code>String</code> of JSON.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_string_pretty" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#229-231">Source</a><h4 class="code-header">pub fn <a href="#method.to_string_pretty" class="fn">to_string_pretty</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../struct.Error.html" title="struct gltf_json::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Serialize as a pretty-printed <code>String</code> of JSON.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_value" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#234-236">Source</a><h4 class="code-header">pub fn <a href="#method.to_value" class="fn">to_value</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../enum.Value.html" title="enum gltf_json::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct gltf_json::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Serialize as a generic JSON value.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_vec" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#239-241">Source</a><h4 class="code-header">pub fn <a href="#method.to_vec" class="fn">to_vec</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>&gt;, <a class="struct" href="../struct.Error.html" title="struct gltf_json::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Serialize as a JSON byte vector.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_vec_pretty" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#244-246">Source</a><h4 class="code-header">pub fn <a href="#method.to_vec_pretty" class="fn">to_vec_pretty</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>&gt;, <a class="struct" href="../struct.Error.html" title="struct gltf_json::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Serialize as a pretty-printed JSON byte vector.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_writer" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#249-254">Source</a><h4 class="code-header">pub fn <a href="#method.to_writer" class="fn">to_writer</a>&lt;W&gt;(&amp;self, writer: W) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="struct" href="../struct.Error.html" title="struct gltf_json::Error">Error</a>&gt;<div class="where">where
W: <a class="trait" href="https://doc.rust-lang.org/1.84.0/std/io/trait.Write.html" title="trait std::io::Write">Write</a>,</div></h4></section></summary><div class="docblock"><p>Serialize as a JSON byte writertor.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_writer_pretty" class="method"><a class="src rightside" href="../../src/gltf_json/root.rs.html#257-262">Source</a><h4 class="code-header">pub fn <a href="#method.to_writer_pretty" class="fn">to_writer_pretty</a>&lt;W&gt;(&amp;self, writer: W) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="struct" href="../struct.Error.html" title="struct gltf_json::Error">Error</a>&gt;<div class="where">where
W: <a class="trait" href="https://doc.rust-lang.org/1.84.0/std/io/trait.Write.html" title="trait std::io::Write">Write</a>,</div></h4></section></summary><div class="docblock"><p>Serialize as a pretty-printed JSON byte writertor.</p>
</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-AsMut%3CVec%3CAccessor%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#389">Source</a><a href="#impl-AsMut%3CVec%3CAccessor%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Accessor.html" title="struct gltf_json::Accessor">Accessor</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-1" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#389">Source</a><a href="#method.as_mut-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Accessor.html" title="struct gltf_json::Accessor">Accessor</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CAnimation%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#390">Source</a><a href="#impl-AsMut%3CVec%3CAnimation%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Animation.html" title="struct gltf_json::Animation">Animation</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-2" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#390">Source</a><a href="#method.as_mut-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Animation.html" title="struct gltf_json::Animation">Animation</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CBuffer%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#391">Source</a><a href="#impl-AsMut%3CVec%3CBuffer%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Buffer.html" title="struct gltf_json::Buffer">Buffer</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-3" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#391">Source</a><a href="#method.as_mut-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Buffer.html" title="struct gltf_json::Buffer">Buffer</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CCamera%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#393">Source</a><a href="#impl-AsMut%3CVec%3CCamera%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Camera.html" title="struct gltf_json::Camera">Camera</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-5" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#393">Source</a><a href="#method.as_mut-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Camera.html" title="struct gltf_json::Camera">Camera</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CImage%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#394">Source</a><a href="#impl-AsMut%3CVec%3CImage%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Image.html" title="struct gltf_json::Image">Image</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-6" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#394">Source</a><a href="#method.as_mut-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Image.html" title="struct gltf_json::Image">Image</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CLight%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/extensions/root.rs.html#66-75">Source</a><a href="#impl-AsMut%3CVec%3CLight%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../extensions/scene/khr_lights_punctual/struct.Light.html" title="struct gltf_json::extensions::scene::khr_lights_punctual::Light">Light</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/extensions/root.rs.html#67-74">Source</a><a href="#method.as_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../extensions/scene/khr_lights_punctual/struct.Light.html" title="struct gltf_json::extensions::scene::khr_lights_punctual::Light">Light</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CMaterial%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#395">Source</a><a href="#impl-AsMut%3CVec%3CMaterial%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Material.html" title="struct gltf_json::Material">Material</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-7" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#395">Source</a><a href="#method.as_mut-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Material.html" title="struct gltf_json::Material">Material</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CMesh%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#396">Source</a><a href="#impl-AsMut%3CVec%3CMesh%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Mesh.html" title="struct gltf_json::Mesh">Mesh</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-8" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#396">Source</a><a href="#method.as_mut-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Mesh.html" title="struct gltf_json::Mesh">Mesh</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CNode%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#397">Source</a><a href="#impl-AsMut%3CVec%3CNode%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Node.html" title="struct gltf_json::Node">Node</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-9" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#397">Source</a><a href="#method.as_mut-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Node.html" title="struct gltf_json::Node">Node</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CSampler%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#398">Source</a><a href="#impl-AsMut%3CVec%3CSampler%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../texture/struct.Sampler.html" title="struct gltf_json::texture::Sampler">Sampler</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-10" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#398">Source</a><a href="#method.as_mut-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../texture/struct.Sampler.html" title="struct gltf_json::texture::Sampler">Sampler</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CScene%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#399">Source</a><a href="#impl-AsMut%3CVec%3CScene%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Scene.html" title="struct gltf_json::Scene">Scene</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-11" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#399">Source</a><a href="#method.as_mut-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Scene.html" title="struct gltf_json::Scene">Scene</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CSkin%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#400">Source</a><a href="#impl-AsMut%3CVec%3CSkin%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Skin.html" title="struct gltf_json::Skin">Skin</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-12" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#400">Source</a><a href="#method.as_mut-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Skin.html" title="struct gltf_json::Skin">Skin</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CTexture%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#401">Source</a><a href="#impl-AsMut%3CVec%3CTexture%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Texture.html" title="struct gltf_json::Texture">Texture</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-13" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#401">Source</a><a href="#method.as_mut-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.Texture.html" title="struct gltf_json::Texture">Texture</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CVec%3CView%3E%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#392">Source</a><a href="#impl-AsMut%3CVec%3CView%3E%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../buffer/struct.View.html" title="struct gltf_json::buffer::View">View</a>&gt;&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-4" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#392">Source</a><a href="#method.as_mut-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../buffer/struct.View.html" title="struct gltf_json::buffer::View">View</a>&gt;</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BAccessor%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#389">Source</a><a href="#impl-AsRef%3C%5BAccessor%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../struct.Accessor.html" title="struct gltf_json::Accessor">Accessor</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-1" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#389">Source</a><a href="#method.as_ref-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../struct.Accessor.html" title="struct gltf_json::Accessor">Accessor</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BAnimation%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#390">Source</a><a href="#impl-AsRef%3C%5BAnimation%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../struct.Animation.html" title="struct gltf_json::Animation">Animation</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-2" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#390">Source</a><a href="#method.as_ref-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../struct.Animation.html" title="struct gltf_json::Animation">Animation</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BBuffer%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#391">Source</a><a href="#impl-AsRef%3C%5BBuffer%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../struct.Buffer.html" title="struct gltf_json::Buffer">Buffer</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-3" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#391">Source</a><a href="#method.as_ref-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../struct.Buffer.html" title="struct gltf_json::Buffer">Buffer</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BCamera%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#393">Source</a><a href="#impl-AsRef%3C%5BCamera%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../struct.Camera.html" title="struct gltf_json::Camera">Camera</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-5" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#393">Source</a><a href="#method.as_ref-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../struct.Camera.html" title="struct gltf_json::Camera">Camera</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BImage%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#394">Source</a><a href="#impl-AsRef%3C%5BImage%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../struct.Image.html" title="struct gltf_json::Image">Image</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-6" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#394">Source</a><a href="#method.as_ref-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../struct.Image.html" title="struct gltf_json::Image">Image</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BLight%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/extensions/root.rs.html#56-64">Source</a><a href="#impl-AsRef%3C%5BLight%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../extensions/scene/khr_lights_punctual/struct.Light.html" title="struct gltf_json::extensions::scene::khr_lights_punctual::Light">Light</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/extensions/root.rs.html#57-63">Source</a><a href="#method.as_ref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../extensions/scene/khr_lights_punctual/struct.Light.html" title="struct gltf_json::extensions::scene::khr_lights_punctual::Light">Light</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BMaterial%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#395">Source</a><a href="#impl-AsRef%3C%5BMaterial%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../struct.Material.html" title="struct gltf_json::Material">Material</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-7" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#395">Source</a><a href="#method.as_ref-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../struct.Material.html" title="struct gltf_json::Material">Material</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BMesh%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#396">Source</a><a href="#impl-AsRef%3C%5BMesh%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../struct.Mesh.html" title="struct gltf_json::Mesh">Mesh</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-8" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#396">Source</a><a href="#method.as_ref-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../struct.Mesh.html" title="struct gltf_json::Mesh">Mesh</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BNode%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#397">Source</a><a href="#impl-AsRef%3C%5BNode%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../struct.Node.html" title="struct gltf_json::Node">Node</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-9" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#397">Source</a><a href="#method.as_ref-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../struct.Node.html" title="struct gltf_json::Node">Node</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BSampler%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#398">Source</a><a href="#impl-AsRef%3C%5BSampler%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../texture/struct.Sampler.html" title="struct gltf_json::texture::Sampler">Sampler</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-10" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#398">Source</a><a href="#method.as_ref-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../texture/struct.Sampler.html" title="struct gltf_json::texture::Sampler">Sampler</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BScene%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#399">Source</a><a href="#impl-AsRef%3C%5BScene%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../struct.Scene.html" title="struct gltf_json::Scene">Scene</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-11" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#399">Source</a><a href="#method.as_ref-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../struct.Scene.html" title="struct gltf_json::Scene">Scene</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BSkin%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#400">Source</a><a href="#impl-AsRef%3C%5BSkin%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../struct.Skin.html" title="struct gltf_json::Skin">Skin</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-12" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#400">Source</a><a href="#method.as_ref-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../struct.Skin.html" title="struct gltf_json::Skin">Skin</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BTexture%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#401">Source</a><a href="#impl-AsRef%3C%5BTexture%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../struct.Texture.html" title="struct gltf_json::Texture">Texture</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-13" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#401">Source</a><a href="#method.as_ref-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../struct.Texture.html" title="struct gltf_json::Texture">Texture</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5BView%5D%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#392">Source</a><a href="#impl-AsRef%3C%5BView%5D%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="struct" href="../buffer/struct.View.html" title="struct gltf_json::buffer::View">View</a>]&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-4" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#392">Source</a><a href="#method.as_ref-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="struct" href="../buffer/struct.View.html" title="struct gltf_json::buffer::View">View</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#impl-Clone-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#174">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: &amp;Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#impl-Debug-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#impl-Default-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -&gt; <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#impl-Deserialize%3C'de%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="../../serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="associatedtype" href="../../serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
__D: <a class="trait" href="../../serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="../../serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CAccessor%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#389">Source</a><a href="#impl-Get%3CAccessor%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../struct.Accessor.html" title="struct gltf_json::Accessor">Accessor</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-2" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#389">Source</a><a href="#method.get-2" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Accessor.html" title="struct gltf_json::Accessor">Accessor</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../struct.Accessor.html" title="struct gltf_json::Accessor">Accessor</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CAnimation%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#390">Source</a><a href="#impl-Get%3CAnimation%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../struct.Animation.html" title="struct gltf_json::Animation">Animation</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-3" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#390">Source</a><a href="#method.get-3" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Animation.html" title="struct gltf_json::Animation">Animation</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../struct.Animation.html" title="struct gltf_json::Animation">Animation</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CBuffer%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#391">Source</a><a href="#impl-Get%3CBuffer%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../struct.Buffer.html" title="struct gltf_json::Buffer">Buffer</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-4" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#391">Source</a><a href="#method.get-4" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Buffer.html" title="struct gltf_json::Buffer">Buffer</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../struct.Buffer.html" title="struct gltf_json::Buffer">Buffer</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CCamera%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#393">Source</a><a href="#impl-Get%3CCamera%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../struct.Camera.html" title="struct gltf_json::Camera">Camera</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-6" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#393">Source</a><a href="#method.get-6" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Camera.html" title="struct gltf_json::Camera">Camera</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../struct.Camera.html" title="struct gltf_json::Camera">Camera</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CImage%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#394">Source</a><a href="#impl-Get%3CImage%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../struct.Image.html" title="struct gltf_json::Image">Image</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-7" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#394">Source</a><a href="#method.get-7" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Image.html" title="struct gltf_json::Image">Image</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../struct.Image.html" title="struct gltf_json::Image">Image</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CLight%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/extensions/root.rs.html#38-53">Source</a><a href="#impl-Get%3CLight%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../extensions/scene/khr_lights_punctual/struct.Light.html" title="struct gltf_json::extensions::scene::khr_lights_punctual::Light">Light</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-1" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/extensions/root.rs.html#39-52">Source</a><a href="#method.get-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, id: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../extensions/scene/khr_lights_punctual/struct.Light.html" title="struct gltf_json::extensions::scene::khr_lights_punctual::Light">Light</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../extensions/scene/khr_lights_punctual/struct.Light.html" title="struct gltf_json::extensions::scene::khr_lights_punctual::Light">Light</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CMaterial%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#395">Source</a><a href="#impl-Get%3CMaterial%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../struct.Material.html" title="struct gltf_json::Material">Material</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-8" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#395">Source</a><a href="#method.get-8" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Material.html" title="struct gltf_json::Material">Material</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../struct.Material.html" title="struct gltf_json::Material">Material</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CMesh%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#396">Source</a><a href="#impl-Get%3CMesh%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../struct.Mesh.html" title="struct gltf_json::Mesh">Mesh</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-9" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#396">Source</a><a href="#method.get-9" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Mesh.html" title="struct gltf_json::Mesh">Mesh</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../struct.Mesh.html" title="struct gltf_json::Mesh">Mesh</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CNode%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#397">Source</a><a href="#impl-Get%3CNode%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../struct.Node.html" title="struct gltf_json::Node">Node</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-10" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#397">Source</a><a href="#method.get-10" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Node.html" title="struct gltf_json::Node">Node</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../struct.Node.html" title="struct gltf_json::Node">Node</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CSampler%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#398">Source</a><a href="#impl-Get%3CSampler%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../texture/struct.Sampler.html" title="struct gltf_json::texture::Sampler">Sampler</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-11" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#398">Source</a><a href="#method.get-11" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../texture/struct.Sampler.html" title="struct gltf_json::texture::Sampler">Sampler</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../texture/struct.Sampler.html" title="struct gltf_json::texture::Sampler">Sampler</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CScene%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#399">Source</a><a href="#impl-Get%3CScene%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../struct.Scene.html" title="struct gltf_json::Scene">Scene</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-12" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#399">Source</a><a href="#method.get-12" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Scene.html" title="struct gltf_json::Scene">Scene</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../struct.Scene.html" title="struct gltf_json::Scene">Scene</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CSkin%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#400">Source</a><a href="#impl-Get%3CSkin%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../struct.Skin.html" title="struct gltf_json::Skin">Skin</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-13" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#400">Source</a><a href="#method.get-13" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Skin.html" title="struct gltf_json::Skin">Skin</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../struct.Skin.html" title="struct gltf_json::Skin">Skin</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CTexture%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#401">Source</a><a href="#impl-Get%3CTexture%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../struct.Texture.html" title="struct gltf_json::Texture">Texture</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-14" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#401">Source</a><a href="#method.get-14" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../struct.Texture.html" title="struct gltf_json::Texture">Texture</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../struct.Texture.html" title="struct gltf_json::Texture">Texture</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Get%3CView%3E-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#392">Source</a><a href="#impl-Get%3CView%3E-for-Root" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.Get.html" title="trait gltf_json::root::Get">Get</a>&lt;<a class="struct" href="../buffer/struct.View.html" title="struct gltf_json::buffer::View">View</a>&gt; for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get-5" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#392">Source</a><a href="#method.get-5" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Get.html#tymethod.get" class="fn">get</a>(&amp;self, index: <a class="struct" href="../struct.Index.html" title="struct gltf_json::Index">Index</a>&lt;<a class="struct" href="../buffer/struct.View.html" title="struct gltf_json::buffer::View">View</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../buffer/struct.View.html" title="struct gltf_json::buffer::View">View</a>&gt;</h4></section></summary><div class='docblock'>Retrieves a single value at the given index.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#impl-Serialize-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../../serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="associatedtype" href="../../serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="associatedtype" href="../../serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<div class="where">where
__S: <a class="trait" href="../../serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="../../serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Validate-for-Root" class="impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#impl-Validate-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../validation/trait.Validate.html" title="trait gltf_json::validation::Validate">Validate</a> for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.validate" class="method trait-impl"><a class="src rightside" href="../../src/gltf_json/root.rs.html#59">Source</a><a href="#method.validate" class="anchor">§</a><h4 class="code-header">fn <a href="../validation/trait.Validate.html#method.validate" class="fn">validate</a>&lt;P, R&gt;(&amp;self, _root: &amp;<a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a>, _path: P, _report: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;mut R</a>)<div class="where">where
P: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -&gt; <a class="struct" href="../struct.Path.html" title="struct gltf_json::Path">Path</a>,
R: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -&gt; <a class="struct" href="../struct.Path.html" title="struct gltf_json::Path">Path</a>, <a class="enum" href="../validation/enum.Error.html" title="enum gltf_json::validation::Error">Error</a>),</div></h4></section></summary><div class='docblock'>Validates the invariants required for the library to function safely.</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Root" class="impl"><a href="#impl-Freeze-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section><section id="impl-RefUnwindSafe-for-Root" class="impl"><a href="#impl-RefUnwindSafe-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section><section id="impl-Send-for-Root" class="impl"><a href="#impl-Send-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section><section id="impl-Sync-for-Root" class="impl"><a href="#impl-Sync-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section><section id="impl-Unpin-for-Root" class="impl"><a href="#impl-Unpin-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section><section id="impl-UnwindSafe-for-Root" class="impl"><a href="#impl-UnwindSafe-for-Root" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../struct.Root.html" title="struct gltf_json::Root">Root</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.84.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.84.0/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.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.84.0/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.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.84.0/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#273">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#275">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&amp;self, dst: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dst</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#765">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#768">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#748-750">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#758">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#82-84">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#86">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#87">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&amp;self) -&gt; T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#91">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#805-807">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#809">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#812">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#790-792">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#794">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#797">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="../../src/serde/de/mod.rs.html#614">Source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="../../serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section></div></section></div></main></body></html>