bring docs up to date

master
mitchellhansen 5 years ago
parent 438f96eb32
commit 99ed07e070

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
(function() {var implementors = {}; (function() {var implementors = {};
implementors["sfml_rust"] = [{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.TextureVertex2D.html\" title=\"struct sfml_rust::util::vertex::TextureVertex2D\">TextureVertex2D</a>",synthetic:false,types:["sfml_rust::util::vertex::TextureVertex2D"]},{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.ColorVertex2D.html\" title=\"struct sfml_rust::util::vertex::ColorVertex2D\">ColorVertex2D</a>",synthetic:false,types:["sfml_rust::util::vertex::ColorVertex2D"]},{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.ImageVertex2D.html\" title=\"struct sfml_rust::util::vertex::ImageVertex2D\">ImageVertex2D</a>",synthetic:false,types:["sfml_rust::util::vertex::ImageVertex2D"]},{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.Vertex3D.html\" title=\"struct sfml_rust::util::vertex::Vertex3D\">Vertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::Vertex3D"]},{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.TextVertex3D.html\" title=\"struct sfml_rust::util::vertex::TextVertex3D\">TextVertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::TextVertex3D"]},{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/canvas/managed/shader/text_shader/struct.GlyphInstance.html\" title=\"struct sfml_rust::canvas::managed::shader::text_shader::GlyphInstance\">GlyphInstance</a>",synthetic:false,types:["sfml_rust::canvas::managed::shader::text_shader::GlyphInstance"]},]; implementors["sfml_rust"] = [{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.TextureVertex3D.html\" title=\"struct sfml_rust::util::vertex::TextureVertex3D\">TextureVertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::TextureVertex3D"]},{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.ColorVertex3D.html\" title=\"struct sfml_rust::util::vertex::ColorVertex3D\">ColorVertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::ColorVertex3D"]},{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.ImageVertex3D.html\" title=\"struct sfml_rust::util::vertex::ImageVertex3D\">ImageVertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::ImageVertex3D"]},{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.Vertex3D.html\" title=\"struct sfml_rust::util::vertex::Vertex3D\">Vertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::Vertex3D"]},{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.TextVertex3D.html\" title=\"struct sfml_rust::util::vertex::TextVertex3D\">TextVertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::TextVertex3D"]},{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.GlyphInstance.html\" title=\"struct sfml_rust::util::vertex::GlyphInstance\">GlyphInstance</a>",synthetic:false,types:["sfml_rust::util::vertex::GlyphInstance"]},];
if (window.register_implementors) { if (window.register_implementors) {
window.register_implementors(implementors); window.register_implementors(implementors);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
(function() {var implementors = {}; (function() {var implementors = {};
implementors["sfml_rust"] = [{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.TextureVertex2D.html\" title=\"struct sfml_rust::util::vertex::TextureVertex2D\">TextureVertex2D</a>",synthetic:false,types:["sfml_rust::util::vertex::TextureVertex2D"]},{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.ColorVertex2D.html\" title=\"struct sfml_rust::util::vertex::ColorVertex2D\">ColorVertex2D</a>",synthetic:false,types:["sfml_rust::util::vertex::ColorVertex2D"]},{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.ImageVertex2D.html\" title=\"struct sfml_rust::util::vertex::ImageVertex2D\">ImageVertex2D</a>",synthetic:false,types:["sfml_rust::util::vertex::ImageVertex2D"]},{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.Vertex3D.html\" title=\"struct sfml_rust::util::vertex::Vertex3D\">Vertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::Vertex3D"]},{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.TextVertex3D.html\" title=\"struct sfml_rust::util::vertex::TextVertex3D\">TextVertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::TextVertex3D"]},{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/canvas/managed/shader/text_shader/struct.GlyphInstance.html\" title=\"struct sfml_rust::canvas::managed::shader::text_shader::GlyphInstance\">GlyphInstance</a>",synthetic:false,types:["sfml_rust::canvas::managed::shader::text_shader::GlyphInstance"]},]; implementors["sfml_rust"] = [{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.TextureVertex3D.html\" title=\"struct sfml_rust::util::vertex::TextureVertex3D\">TextureVertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::TextureVertex3D"]},{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.ColorVertex3D.html\" title=\"struct sfml_rust::util::vertex::ColorVertex3D\">ColorVertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::ColorVertex3D"]},{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.ImageVertex3D.html\" title=\"struct sfml_rust::util::vertex::ImageVertex3D\">ImageVertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::ImageVertex3D"]},{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.Vertex3D.html\" title=\"struct sfml_rust::util::vertex::Vertex3D\">Vertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::Vertex3D"]},{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.TextVertex3D.html\" title=\"struct sfml_rust::util::vertex::TextVertex3D\">TextVertex3D</a>",synthetic:false,types:["sfml_rust::util::vertex::TextVertex3D"]},{text:"impl Vertex for <a class=\"struct\" href=\"sfml_rust/util/vertex/struct.GlyphInstance.html\" title=\"struct sfml_rust::util::vertex::GlyphInstance\">GlyphInstance</a>",synthetic:false,types:["sfml_rust::util::vertex::GlyphInstance"]},];
if (window.register_implementors) { if (window.register_implementors) {
window.register_implementors(implementors); window.register_implementors(implementors);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,3 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `canvas_frame` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, canvas_frame"><title>sfml_rust::canvas::canvas_frame - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module canvas_frame</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a></p><script>window.sidebarCurrent = {name: 'canvas_frame', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#1-30' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a class="mod" href=''>canvas_frame</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `canvas_frame` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, canvas_frame"><title>sfml_rust::canvas::canvas_frame - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module canvas_frame</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a></p><script>window.sidebarCurrent = {name: 'canvas_frame', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#1-28' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a class="mod" href=''>canvas_frame</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.CanvasFrameTest.html" title='sfml_rust::canvas::canvas_frame::CanvasFrameTest struct'>CanvasFrameTest</a></td><td class='docblock-short'></td></tr></table><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2> <table><tr class='module-item'><td><a class="struct" href="struct.CanvasFrame.html" title='sfml_rust::canvas::canvas_frame::CanvasFrame struct'>CanvasFrame</a></td><td class='docblock-short'><p>Accumulator for Vectors of VertexTypes</p>
<table><tr class='module-item'><td><a class="trait" href="trait.DrawableTest.html" title='sfml_rust::canvas::canvas_frame::DrawableTest trait'>DrawableTest</a></td><td class='docblock-short'></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "sfml_rust";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html> </td></tr></table><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2>
<table><tr class='module-item'><td><a class="trait" href="trait.Drawable.html" title='sfml_rust::canvas::canvas_frame::Drawable trait'>Drawable</a></td><td class='docblock-short'><p>Trait which may be inherited by objects that wish to be drawn to the screen</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "sfml_rust";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>

@ -1 +1 @@
initSidebarItems({"struct":[["CanvasFrameTest",""]],"trait":[["DrawableTest",""]]}); initSidebarItems({"struct":[["CanvasFrame","Accumulator for Vectors of VertexTypes"]],"trait":[["Drawable","Trait which may be inherited by objects that wish to be drawn to the screen"]]});

@ -1,8 +1,10 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CanvasFrameTest` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CanvasFrameTest"><title>sfml_rust::canvas::canvas_frame::CanvasFrameTest - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct CanvasFrameTest</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.map">map</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.draw">draw</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Default">Default</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a href='index.html'>canvas_frame</a></p><script>window.sidebarCurrent = {name: 'CanvasFrameTest', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#22-24' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a href='index.html'>canvas_frame</a>::<wbr><a class="struct" href=''>CanvasFrameTest</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct CanvasFrameTest { <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CanvasFrame` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CanvasFrame"><title>sfml_rust::canvas::canvas_frame::CanvasFrame - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct CanvasFrame</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.map">map</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.draw">draw</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Default">Default</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a href='index.html'>canvas_frame</a></p><script>window.sidebarCurrent = {name: 'CanvasFrame', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#18-20' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a href='index.html'>canvas_frame</a>::<wbr><a class="struct" href=''>CanvasFrame</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct CanvasFrame {
pub map: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a>&gt;, pub map: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a>&gt;,
}</pre></div><h2 id='fields' class='fields small-section-header'> }</pre></div><div class='docblock'><p>Accumulator for Vectors of VertexTypes</p>
Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.map" class="structfield small-section-header"><a href="#structfield.map" class="anchor field"></a><code id="map.v">map: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a>&gt;</code></span><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><a href='#impl' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#26-30' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.draw' class="method"><code id='draw.v'>pub fn <a href='#method.draw' class='fnname'>draw</a>(&amp;mut self, drawable: &amp;dyn <a class="trait" href="../../../sfml_rust/canvas/canvas_frame/trait.DrawableTest.html" title="trait sfml_rust::canvas::canvas_frame::DrawableTest">DrawableTest</a>)</code><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#27-29' title='goto source code'>[src]</a></h4></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#21' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#21' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p> </div><h2 id='fields' class='fields small-section-header'>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p> Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.map" class="structfield small-section-header"><a href="#structfield.map" class="anchor field"></a><code id="map.v">map: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a>&gt;</code></span><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrame.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrame">CanvasFrame</a></code><a href='#impl' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#22-28' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.draw' class="method"><code id='draw.v'>pub fn <a href='#method.draw' class='fnname'>draw</a>(&amp;mut self, drawable: &amp;dyn <a class="trait" href="../../../sfml_rust/canvas/canvas_frame/trait.Drawable.html" title="trait sfml_rust::canvas::canvas_frame::Drawable">Drawable</a>)</code><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#25-27' title='goto source code'>[src]</a></h4><div class='docblock'><p>Push this drawable onto the back of the accumulator</p>
</div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrame.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrame">CanvasFrame</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#17' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrame.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrame">CanvasFrame</a></code><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#17' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrame.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrame">CanvasFrame</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrame.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrame">CanvasFrame</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrame.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrame">CanvasFrame</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrame.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrame">CanvasFrame</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrame.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrame">CanvasFrame</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p> </div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p> </div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/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/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p> </div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/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/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>

@ -0,0 +1,8 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Drawable` trait in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, Drawable"><title>sfml_rust::canvas::canvas_frame::Drawable - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait Drawable</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.get">get</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a href='index.html'>canvas_frame</a></p><script>window.sidebarCurrent = {name: 'Drawable', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#12-14' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a href='index.html'>canvas_frame</a>::<wbr><a class="trait" href=''>Drawable</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait Drawable {
fn <a href='#tymethod.get' class='fnname'>get</a>(&amp;self) -&gt; <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a>;
}</pre></div><div class='docblock'><p>Trait which may be inherited by objects that wish to be drawn to the screen</p>
</div>
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.get' class='method'><code id='get.v'>fn <a href='#tymethod.get' class='fnname'>get</a>(&amp;self) -&gt; <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code></h3></div><span class='loading-content'>Loading content...</span>
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-Drawable' class='impl'><code class='in-band'>impl Drawable for <a class="struct" href="../../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Drawable' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/sprite.rs.html#56-61' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get' class="method hidden"><code id='get.v-1'>fn <a href='#method.get' class='fnname'>get</a>(&amp;self) -&gt; <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a class='srclink' href='../../../src/sfml_rust/sprite.rs.html#57-59' title='goto source code'>[src]</a></h4></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
src="../../../implementors/sfml_rust/canvas/canvas_frame/trait.Drawable.js">
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "sfml_rust";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>

@ -1,7 +0,0 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `DrawableTest` trait in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, DrawableTest"><title>sfml_rust::canvas::canvas_frame::DrawableTest - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait DrawableTest</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.get">get</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a href='index.html'>canvas_frame</a></p><script>window.sidebarCurrent = {name: 'DrawableTest', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#17-19' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a href='index.html'>canvas_frame</a>::<wbr><a class="trait" href=''>DrawableTest</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait DrawableTest {
fn <a href='#tymethod.get' class='fnname'>get</a>(&amp;self) -&gt; <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a>;
}</pre></div>
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.get' class='method'><code id='get.v'>fn <a href='#tymethod.get' class='fnname'>get</a>(&amp;self) -&gt; <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code></h3></div><span class='loading-content'>Loading content...</span>
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-DrawableTest' class='impl'><code class='in-band'>impl DrawableTest for <a class="struct" href="../../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-DrawableTest' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/sprite.rs.html#36-41' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get' class="method hidden"><code id='get.v-1'>fn <a href='#method.get' class='fnname'>get</a>(&amp;self) -&gt; <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a class='srclink' href='../../../src/sfml_rust/sprite.rs.html#37-39' title='goto source code'>[src]</a></h4></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
src="../../../implementors/sfml_rust/canvas/canvas_frame/trait.DrawableTest.js">
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "sfml_rust";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>

@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `canvas_state` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, canvas_state"><title>sfml_rust::canvas::canvas_state - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module canvas_state</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a></p><script>window.sidebarCurrent = {name: 'canvas_state', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_state.rs.html#1-556' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a class="mod" href=''>canvas_state</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `canvas_state` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, canvas_state"><title>sfml_rust::canvas::canvas_state - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module canvas_state</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a></p><script>window.sidebarCurrent = {name: 'canvas_state', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/canvas/canvas_state.rs.html#1-558' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>canvas</a>::<wbr><a class="mod" href=''>canvas_state</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.CanvasState.html" title='sfml_rust::canvas::canvas_state::CanvasState struct'>CanvasState</a></td><td class='docblock-short'><p>Canvas state is used for storage of texture and image buffers in addition to vertex buffers <table><tr class='module-item'><td><a class="struct" href="struct.CanvasState.html" title='sfml_rust::canvas::canvas_state::CanvasState struct'>CanvasState</a></td><td class='docblock-short'><p>Canvas state is used for storage of texture and image buffers in addition to vertex buffers
Canvas state also contains logic for writing the stored buffers to the command_buffer</p> Canvas state also contains logic for writing the stored buffers to the command_buffer</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "sfml_rust";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html> </td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "sfml_rust";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>

File diff suppressed because one or more lines are too long

@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `DrawableHandle` enum in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, DrawableHandle"><title>sfml_rust::canvas::managed::handles::DrawableHandle - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Enum DrawableHandle</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Texture">Texture</a><a href="#variant.Image">Image</a><a href="#variant.Font">Font</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a></p><script>window.sidebarCurrent = {name: 'DrawableHandle', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7-11' title='goto source code'>[src]</a></span><span class='in-band'>Enum <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a>::<wbr><a class="enum" href=''>DrawableHandle</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust enum'>pub enum DrawableHandle { <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `DrawableHandle` enum in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, DrawableHandle"><title>sfml_rust::canvas::managed::handles::DrawableHandle - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Enum DrawableHandle</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Texture">Texture</a><a href="#variant.Image">Image</a><a href="#variant.Font">Font</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a></p><script>window.sidebarCurrent = {name: 'DrawableHandle', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#6-10' title='goto source code'>[src]</a></span><span class='in-band'>Enum <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a>::<wbr><a class="enum" href=''>DrawableHandle</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust enum'>pub enum DrawableHandle {
Texture(<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>), Texture(<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>),
Image(<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>), Image(<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>),
Font(<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>), Font(<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>),

@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `handles` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, handles"><title>sfml_rust::canvas::managed::handles - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module handles</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li></ul></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a></p><script>window.sidebarCurrent = {name: 'handles', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#2-61' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a class="mod" href=''>handles</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `handles` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, handles"><title>sfml_rust::canvas::managed::handles - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module handles</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li></ul></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a></p><script>window.sidebarCurrent = {name: 'handles', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#2-58' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a class="mod" href=''>handles</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.CanvasFontHandle.html" title='sfml_rust::canvas::managed::handles::CanvasFontHandle struct'>CanvasFontHandle</a></td><td class='docblock-short'><p>Typed wrapper for a u32 handle</p> <table><tr class='module-item'><td><a class="struct" href="struct.CanvasFontHandle.html" title='sfml_rust::canvas::managed::handles::CanvasFontHandle struct'>CanvasFontHandle</a></td><td class='docblock-short'><p>Typed wrapper for a u32 handle</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.CanvasImageHandle.html" title='sfml_rust::canvas::managed::handles::CanvasImageHandle struct'>CanvasImageHandle</a></td><td class='docblock-short'><p>Typed wrapper for a u32 handle</p> </td></tr><tr class='module-item'><td><a class="struct" href="struct.CanvasImageHandle.html" title='sfml_rust::canvas::managed::handles::CanvasImageHandle struct'>CanvasImageHandle</a></td><td class='docblock-short'><p>Typed wrapper for a u32 handle</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.CanvasTextureHandle.html" title='sfml_rust::canvas::managed::handles::CanvasTextureHandle struct'>CanvasTextureHandle</a></td><td class='docblock-short'><p>Typed wrapper for a u32 handle</p> </td></tr><tr class='module-item'><td><a class="struct" href="struct.CanvasTextureHandle.html" title='sfml_rust::canvas::managed::handles::CanvasTextureHandle struct'>CanvasTextureHandle</a></td><td class='docblock-short'><p>Typed wrapper for a u32 handle</p>

@ -1,12 +1,12 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CanvasFontHandle` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CanvasFontHandle"><title>sfml_rust::canvas::managed::handles::CanvasFontHandle - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct CanvasFontHandle</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Eq">Eq</a><a href="#impl-Handle">Handle</a><a href="#impl-Hash">Hash</a><a href="#impl-PartialEq%3CCanvasFontHandle%3E">PartialEq&lt;CanvasFontHandle&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a></p><script>window.sidebarCurrent = {name: 'CanvasFontHandle', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#17-19' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a>::<wbr><a class="struct" href=''>CanvasFontHandle</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct CanvasFontHandle { /* fields omitted */ }</pre></div><div class='docblock'><p>Typed wrapper for a u32 handle</p> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CanvasFontHandle` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CanvasFontHandle"><title>sfml_rust::canvas::managed::handles::CanvasFontHandle - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct CanvasFontHandle</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Eq">Eq</a><a href="#impl-Handle">Handle</a><a href="#impl-Hash">Hash</a><a href="#impl-PartialEq%3CCanvasFontHandle%3E">PartialEq&lt;CanvasFontHandle&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a></p><script>window.sidebarCurrent = {name: 'CanvasFontHandle', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#14-16' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a>::<wbr><a class="struct" href=''>CanvasFontHandle</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct CanvasFontHandle { /* fields omitted */ }</pre></div><div class='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Handle' class='impl'><code class='in-band'>impl <a class="trait" href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html" title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Handle' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#21-25' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_handle' class="method hidden"><code id='get_handle.v'>fn <a href='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#22-24' title='goto source code'>[src]</a></h4></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p> </div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Handle' class='impl'><code class='in-band'>impl <a class="trait" href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html" title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Handle' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#18-22' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_handle' class="method hidden"><code id='get_handle.v'>fn <a href='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19-21' title='goto source code'>[src]</a></h4></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p> </div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p> </div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-PartialEq%3CCanvasFontHandle%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>&gt; for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-PartialEq%3CCanvasFontHandle%3E' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div></div><h3 id='impl-PartialEq%3CCanvasFontHandle%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>&gt; for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-PartialEq%3CCanvasFontHandle%3E' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p> </div><h4 id='method.ne' class="method hidden"><code id='ne.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p> </div></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p> </div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p> </div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p> </div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p> </div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p> </div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>

@ -1,12 +1,12 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CanvasImageHandle` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CanvasImageHandle"><title>sfml_rust::canvas::managed::handles::CanvasImageHandle - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct CanvasImageHandle</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Eq">Eq</a><a href="#impl-Handle">Handle</a><a href="#impl-Hash">Hash</a><a href="#impl-PartialEq%3CCanvasImageHandle%3E">PartialEq&lt;CanvasImageHandle&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a></p><script>window.sidebarCurrent = {name: 'CanvasImageHandle', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#41-43' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a>::<wbr><a class="struct" href=''>CanvasImageHandle</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct CanvasImageHandle { /* fields omitted */ }</pre></div><div class='docblock'><p>Typed wrapper for a u32 handle</p> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CanvasImageHandle` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CanvasImageHandle"><title>sfml_rust::canvas::managed::handles::CanvasImageHandle - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct CanvasImageHandle</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Eq">Eq</a><a href="#impl-Handle">Handle</a><a href="#impl-Hash">Hash</a><a href="#impl-PartialEq%3CCanvasImageHandle%3E">PartialEq&lt;CanvasImageHandle&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a></p><script>window.sidebarCurrent = {name: 'CanvasImageHandle', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#38-40' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a>::<wbr><a class="struct" href=''>CanvasImageHandle</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct CanvasImageHandle { /* fields omitted */ }</pre></div><div class='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Handle' class='impl'><code class='in-band'>impl <a class="trait" href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html" title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Handle' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#45-49' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_handle' class="method hidden"><code id='get_handle.v'>fn <a href='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#46-48' title='goto source code'>[src]</a></h4></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p> </div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Handle' class='impl'><code class='in-band'>impl <a class="trait" href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html" title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Handle' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#42-46' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_handle' class="method hidden"><code id='get_handle.v'>fn <a href='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43-45' title='goto source code'>[src]</a></h4></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p> </div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p> </div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-PartialEq%3CCanvasImageHandle%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>&gt; for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-PartialEq%3CCanvasImageHandle%3E' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div></div><h3 id='impl-PartialEq%3CCanvasImageHandle%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>&gt; for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-PartialEq%3CCanvasImageHandle%3E' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p> </div><h4 id='method.ne' class="method hidden"><code id='ne.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p> </div></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p> </div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p> </div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p> </div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p> </div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p> </div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>

@ -1,15 +1,15 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CanvasTextureHandle` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CanvasTextureHandle"><title>sfml_rust::canvas::managed::handles::CanvasTextureHandle - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct CanvasTextureHandle</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.handle">handle</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Eq">Eq</a><a href="#impl-Handle">Handle</a><a href="#impl-Hash">Hash</a><a href="#impl-PartialEq%3CCanvasTextureHandle%3E">PartialEq&lt;CanvasTextureHandle&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a></p><script>window.sidebarCurrent = {name: 'CanvasTextureHandle', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#29-31' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a>::<wbr><a class="struct" href=''>CanvasTextureHandle</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct CanvasTextureHandle { <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CanvasTextureHandle` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CanvasTextureHandle"><title>sfml_rust::canvas::managed::handles::CanvasTextureHandle - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct CanvasTextureHandle</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.handle">handle</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Eq">Eq</a><a href="#impl-Handle">Handle</a><a href="#impl-Hash">Hash</a><a href="#impl-PartialEq%3CCanvasTextureHandle%3E">PartialEq&lt;CanvasTextureHandle&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a></p><script>window.sidebarCurrent = {name: 'CanvasTextureHandle', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#26-28' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a>::<wbr><a class="struct" href=''>CanvasTextureHandle</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct CanvasTextureHandle {
pub handle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, pub handle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
}</pre></div><div class='docblock'><p>Typed wrapper for a u32 handle</p> }</pre></div><div class='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2 id='fields' class='fields small-section-header'> </div><h2 id='fields' class='fields small-section-header'>
Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.handle" class="structfield small-section-header"><a href="#structfield.handle" class="anchor field"></a><code id="handle.v">handle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Handle' class='impl'><code class='in-band'>impl <a class="trait" href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html" title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Handle' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#33-37' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_handle' class="method hidden"><code id='get_handle.v'>fn <a href='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#34-36' title='goto source code'>[src]</a></h4></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p> Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.handle" class="structfield small-section-header"><a href="#structfield.handle" class="anchor field"></a><code id="handle.v">handle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Handle' class='impl'><code class='in-band'>impl <a class="trait" href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html" title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Handle' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#30-34' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_handle' class="method hidden"><code id='get_handle.v'>fn <a href='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31-33' title='goto source code'>[src]</a></h4></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p> </div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p> </div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-PartialEq%3CCanvasTextureHandle%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>&gt; for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-PartialEq%3CCanvasTextureHandle%3E' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div></div><h3 id='impl-PartialEq%3CCanvasTextureHandle%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>&gt; for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-PartialEq%3CCanvasTextureHandle%3E' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p> </div><h4 id='method.ne' class="method hidden"><code id='ne.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p> </div></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p> </div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p> </div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p> </div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p> </div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p> </div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>

@ -1,12 +1,12 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CompiledShaderHandle` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CompiledShaderHandle"><title>sfml_rust::canvas::managed::handles::CompiledShaderHandle - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct CompiledShaderHandle</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Eq">Eq</a><a href="#impl-Handle">Handle</a><a href="#impl-Hash">Hash</a><a href="#impl-PartialEq%3CCompiledShaderHandle%3E">PartialEq&lt;CompiledShaderHandle&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a></p><script>window.sidebarCurrent = {name: 'CompiledShaderHandle', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#53-55' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a>::<wbr><a class="struct" href=''>CompiledShaderHandle</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct CompiledShaderHandle { /* fields omitted */ }</pre></div><div class='docblock'><p>Typed wrapper for a u32 handle</p> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CompiledShaderHandle` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CompiledShaderHandle"><title>sfml_rust::canvas::managed::handles::CompiledShaderHandle - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct CompiledShaderHandle</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Eq">Eq</a><a href="#impl-Handle">Handle</a><a href="#impl-Hash">Hash</a><a href="#impl-PartialEq%3CCompiledShaderHandle%3E">PartialEq&lt;CompiledShaderHandle&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a></p><script>window.sidebarCurrent = {name: 'CompiledShaderHandle', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#50-52' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>managed</a>::<wbr><a href='index.html'>handles</a>::<wbr><a class="struct" href=''>CompiledShaderHandle</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct CompiledShaderHandle { /* fields omitted */ }</pre></div><div class='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Handle' class='impl'><code class='in-band'>impl <a class="trait" href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html" title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Handle' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#57-61' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_handle' class="method hidden"><code id='get_handle.v'>fn <a href='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#58-60' title='goto source code'>[src]</a></h4></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p> </div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Handle' class='impl'><code class='in-band'>impl <a class="trait" href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html" title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Handle' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#54-58' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_handle' class="method hidden"><code id='get_handle.v'>fn <a href='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55-57' title='goto source code'>[src]</a></h4></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p> </div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p> </div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-PartialEq%3CCompiledShaderHandle%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt; for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-PartialEq%3CCompiledShaderHandle%3E' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div></div><h3 id='impl-PartialEq%3CCompiledShaderHandle%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt; for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-PartialEq%3CCompiledShaderHandle%3E' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p> </div><h4 id='method.ne' class="method hidden"><code id='ne.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p> </div></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p> </div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p> </div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p> </div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p> </div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p> </div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>

File diff suppressed because one or more lines are too long

@ -1,3 +1,3 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `generic_shader` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, generic_shader"><title>sfml_rust::canvas::managed::shader::generic_shader - Rust</title><link rel="stylesheet" type="text/css" href="../../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module generic_shader</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><p class='location'><a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a></p><script>window.sidebarCurrent = {name: 'generic_shader', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#2-142' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a class="mod" href=''>generic_shader</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `generic_shader` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, generic_shader"><title>sfml_rust::canvas::managed::shader::generic_shader - Rust</title><link rel="stylesheet" type="text/css" href="../../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module generic_shader</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><p class='location'><a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a></p><script>window.sidebarCurrent = {name: 'generic_shader', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#2-144' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a class="mod" href=''>generic_shader</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.GenericShader.html" title='sfml_rust::canvas::managed::shader::generic_shader::GenericShader struct'>GenericShader</a></td><td class='docblock-short'><p>CanvasShader holds the pipeline and render pass for the input shader source</p> <table><tr class='module-item'><td><a class="struct" href="struct.GenericShader.html" title='sfml_rust::canvas::managed::shader::generic_shader::GenericShader struct'>GenericShader</a></td><td class='docblock-short'><p>CanvasShader holds the pipeline and render pass for the input shader source</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "sfml_rust";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html> </td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "sfml_rust";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `shader_common` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, shader_common"><title>sfml_rust::canvas::managed::shader::shader_common - Rust</title><link rel="stylesheet" type="text/css" href="../../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module shader_common</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li></ul></div><p class='location'><a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a></p><script>window.sidebarCurrent = {name: 'shader_common', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/shader_common.rs.html#2-123' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a class="mod" href=''>shader_common</a></span></h1><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `shader_common` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, shader_common"><title>sfml_rust::canvas::managed::shader::shader_common - Rust</title><link rel="stylesheet" type="text/css" href="../../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module shader_common</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li></ul></div><p class='location'><a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a></p><script>window.sidebarCurrent = {name: 'shader_common', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/shader_common.rs.html#2-124' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a class="mod" href=''>shader_common</a></span></h1><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
<table><tr class='module-item'><td><a class="enum" href="enum.ShaderType.html" title='sfml_rust::canvas::managed::shader::shader_common::ShaderType enum'>ShaderType</a></td><td class='docblock-short'><p>Legacy ShaderType enum for single type shaders.</p> <table><tr class='module-item'><td><a class="enum" href="enum.ShaderType.html" title='sfml_rust::canvas::managed::shader::shader_common::ShaderType enum'>ShaderType</a></td><td class='docblock-short'><p>Legacy ShaderType enum for single type shaders.</p>
</td></tr></table><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2> </td></tr></table><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2>
<table><tr class='module-item'><td><a class="trait" href="trait.CompiledGraphicsPipeline.html" title='sfml_rust::canvas::managed::shader::shader_common::CompiledGraphicsPipeline trait'>CompiledGraphicsPipeline</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="trait" href="trait.CompiledGraphicsPipelineResources.html" title='sfml_rust::canvas::managed::shader::shader_common::CompiledGraphicsPipelineResources trait'>CompiledGraphicsPipelineResources</a></td><td class='docblock-short'><p>Inheriting this gives private functions to grab resources</p> <table><tr class='module-item'><td><a class="trait" href="trait.CompiledShader.html" title='sfml_rust::canvas::managed::shader::shader_common::CompiledShader trait'>CompiledShader</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="trait" href="trait.CompiledShaderResources.html" title='sfml_rust::canvas::managed::shader::shader_common::CompiledShaderResources trait'>CompiledShaderResources</a></td><td class='docblock-short'><p>Inheriting this gives private functions to grab resources</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "sfml_rust";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html> </td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "sfml_rust";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>

@ -1 +1 @@
initSidebarItems({"enum":[["ShaderType","Legacy ShaderType enum for single type shaders."]],"trait":[["CompiledGraphicsPipeline",""],["CompiledGraphicsPipelineResources","Inheriting this gives private functions to grab resources"]]}); initSidebarItems({"enum":[["ShaderType","Legacy ShaderType enum for single type shaders."]],"trait":[["CompiledShader",""],["CompiledShaderResources","Inheriting this gives private functions to grab resources"]]});

@ -1,16 +0,0 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CompiledGraphicsPipeline` trait in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CompiledGraphicsPipeline"><title>sfml_rust::canvas::managed::shader::shader_common::CompiledGraphicsPipeline - Rust</title><link rel="stylesheet" type="text/css" href="../../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait CompiledGraphicsPipeline</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.get_handle">get_handle</a><a href="#tymethod.get_name">get_name</a><a href="#tymethod.get_pipeline">get_pipeline</a><a href="#tymethod.get_renderpass">get_renderpass</a><a href="#tymethod.new">new</a><a href="#tymethod.recompile">recompile</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a href='index.html'>shader_common</a></p><script>window.sidebarCurrent = {name: 'CompiledGraphicsPipeline', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/shader_common.rs.html#102-113' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a href='index.html'>shader_common</a>::<wbr><a class="trait" href=''>CompiledGraphicsPipeline</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait CompiledGraphicsPipeline {
fn <a href='#tymethod.new' class='fnname'>new</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; Self<br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
<div class='item-spacer'></div> fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>;
<div class='item-spacer'></div> fn <a href='#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.get_pipeline' class='fnname'>get_pipeline</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn GraphicsPipelineAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.get_renderpass' class='fnname'>get_renderpass</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.recompile' class='fnname'>recompile</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; Self<br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
}</pre></div>
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.new' class='method'><code id='new.v'>fn <a href='#tymethod.new' class='fnname'>new</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code></h3><h3 id='tymethod.get_name' class='method'><code id='get_name.v'>fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></h3><h3 id='tymethod.get_handle' class='method'><code id='get_handle.v'>fn <a href='#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;</code></h3><h3 id='tymethod.get_pipeline' class='method'><code id='get_pipeline.v'>fn <a href='#tymethod.get_pipeline' class='fnname'>get_pipeline</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn GraphicsPipelineAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;</code></h3><h3 id='tymethod.get_renderpass' class='method'><code id='get_renderpass.v'>fn <a href='#tymethod.get_renderpass' class='fnname'>get_renderpass</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;</code></h3><h3 id='tymethod.recompile' class='method'><code id='recompile.v'>fn <a href='#tymethod.recompile' class='fnname'>recompile</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code></h3></div><span class='loading-content'>Loading content...</span>
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-CompiledGraphicsPipeline' class='impl'><code class='in-band'>impl CompiledGraphicsPipeline for <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/generic_shader/struct.GenericShader.html" title="struct sfml_rust::canvas::managed::shader::generic_shader::GenericShader">GenericShader</a></code><a href='#impl-CompiledGraphicsPipeline' class='anchor'></a><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#41-142' title='goto source code'>[src]</a></h3><div class='docblock'><p>Convenience interface so we don't have to juggle shader types</p>
</div><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v-1'>fn <a href='#method.new' class='fnname'>new</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/generic_shader/struct.GenericShader.html" title="struct sfml_rust::canvas::managed::shader::generic_shader::GenericShader">GenericShader</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#44-118' title='goto source code'>[src]</a></h4><div class='docblock'><p>This will explode when the shader does not want to compile</p>
</div><h4 id='method.get_name' class="method hidden"><code id='get_name.v-1'>fn <a href='#method.get_name' class='fnname'>get_name</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#120-122' title='goto source code'>[src]</a></h4><h4 id='method.get_handle' class="method hidden"><code id='get_handle.v-1'>fn <a href='#method.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#124-126' title='goto source code'>[src]</a></h4><h4 id='method.get_pipeline' class="method hidden"><code id='get_pipeline.v-1'>fn <a href='#method.get_pipeline' class='fnname'>get_pipeline</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn GraphicsPipelineAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#128-130' title='goto source code'>[src]</a></h4><h4 id='method.get_renderpass' class="method hidden"><code id='get_renderpass.v-1'>fn <a href='#method.get_renderpass' class='fnname'>get_renderpass</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#132-134' title='goto source code'>[src]</a></h4><h4 id='method.recompile' class="method hidden"><code id='recompile.v-1'>fn <a href='#method.recompile' class='fnname'>recompile</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/generic_shader/struct.GenericShader.html" title="struct sfml_rust::canvas::managed::shader::generic_shader::GenericShader">GenericShader</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#136-141' title='goto source code'>[src]</a></h4></div><h3 id='impl-CompiledGraphicsPipeline-1' class='impl'><code class='in-band'>impl CompiledGraphicsPipeline for <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/text_shader/struct.TextShader.html" title="struct sfml_rust::canvas::managed::shader::text_shader::TextShader">TextShader</a></code><a href='#impl-CompiledGraphicsPipeline-1' class='anchor'></a><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#47-169' title='goto source code'>[src]</a></h3><div class='docblock'><p>Convenience interface so we don't have to juggle shader types</p>
</div><div class='impl-items'><h4 id='method.new-1' class="method"><code id='new.v-2'>fn <a href='#method.new-1' class='fnname'>new</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/text_shader/struct.TextShader.html" title="struct sfml_rust::canvas::managed::shader::text_shader::TextShader">TextShader</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#50-147' title='goto source code'>[src]</a></h4><div class='docblock'><p>This will explode when the shader does not want to compile</p>
</div><h4 id='method.get_name-1' class="method hidden"><code id='get_name.v-2'>fn <a href='#method.get_name-1' class='fnname'>get_name</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#149-151' title='goto source code'>[src]</a></h4><h4 id='method.get_handle-1' class="method hidden"><code id='get_handle.v-2'>fn <a href='#method.get_handle-1' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#153-155' title='goto source code'>[src]</a></h4><h4 id='method.get_pipeline-1' class="method hidden"><code id='get_pipeline.v-2'>fn <a href='#method.get_pipeline-1' class='fnname'>get_pipeline</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn GraphicsPipelineAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#157-159' title='goto source code'>[src]</a></h4><h4 id='method.get_renderpass-1' class="method hidden"><code id='get_renderpass.v-2'>fn <a href='#method.get_renderpass-1' class='fnname'>get_renderpass</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#160-162' title='goto source code'>[src]</a></h4><h4 id='method.recompile-1' class="method hidden"><code id='recompile.v-2'>fn <a href='#method.recompile-1' class='fnname'>recompile</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/text_shader/struct.TextShader.html" title="struct sfml_rust::canvas::managed::shader::text_shader::TextShader">TextShader</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#163-168' title='goto source code'>[src]</a></h4></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
src="../../../../../implementors/sfml_rust/canvas/managed/shader/shader_common/trait.CompiledGraphicsPipeline.js">
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "sfml_rust";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>

@ -0,0 +1,16 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CompiledShader` trait in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CompiledShader"><title>sfml_rust::canvas::managed::shader::shader_common::CompiledShader - Rust</title><link rel="stylesheet" type="text/css" href="../../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait CompiledShader</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.get_handle">get_handle</a><a href="#tymethod.get_name">get_name</a><a href="#tymethod.get_pipeline">get_pipeline</a><a href="#tymethod.get_renderpass">get_renderpass</a><a href="#tymethod.new">new</a><a href="#tymethod.recompile">recompile</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a href='index.html'>shader_common</a></p><script>window.sidebarCurrent = {name: 'CompiledShader', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/shader_common.rs.html#103-114' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a href='index.html'>shader_common</a>::<wbr><a class="trait" href=''>CompiledShader</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait CompiledShader {
fn <a href='#tymethod.new' class='fnname'>new</a>&lt;V&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; Self<br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;V: Vertex</span>;
<div class='item-spacer'></div> fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>;
<div class='item-spacer'></div> fn <a href='#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.get_pipeline' class='fnname'>get_pipeline</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn GraphicsPipelineAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.get_renderpass' class='fnname'>get_renderpass</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.recompile' class='fnname'>recompile</a>&lt;V:&nbsp;Vertex&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; Self<br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
}</pre></div>
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.new' class='method'><code id='new.v'>fn <a href='#tymethod.new' class='fnname'>new</a>&lt;V&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;V: Vertex,&nbsp;</span></code></h3><h3 id='tymethod.get_name' class='method'><code id='get_name.v'>fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></h3><h3 id='tymethod.get_handle' class='method'><code id='get_handle.v'>fn <a href='#tymethod.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;</code></h3><h3 id='tymethod.get_pipeline' class='method'><code id='get_pipeline.v'>fn <a href='#tymethod.get_pipeline' class='fnname'>get_pipeline</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn GraphicsPipelineAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;</code></h3><h3 id='tymethod.get_renderpass' class='method'><code id='get_renderpass.v'>fn <a href='#tymethod.get_renderpass' class='fnname'>get_renderpass</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;</code></h3><h3 id='tymethod.recompile' class='method'><code id='recompile.v'>fn <a href='#tymethod.recompile' class='fnname'>recompile</a>&lt;V:&nbsp;Vertex&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code></h3></div><span class='loading-content'>Loading content...</span>
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-CompiledShader' class='impl'><code class='in-band'>impl CompiledShader for <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/generic_shader/struct.GenericShader.html" title="struct sfml_rust::canvas::managed::shader::generic_shader::GenericShader">GenericShader</a></code><a href='#impl-CompiledShader' class='anchor'></a><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#43-144' title='goto source code'>[src]</a></h3><div class='docblock'><p>Convenience interface so we don't have to juggle shader types</p>
</div><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v-1'>fn <a href='#method.new' class='fnname'>new</a>&lt;V:&nbsp;Vertex&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/generic_shader/struct.GenericShader.html" title="struct sfml_rust::canvas::managed::shader::generic_shader::GenericShader">GenericShader</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#46-120' title='goto source code'>[src]</a></h4><div class='docblock'><p>This will explode when the shader does not want to compile</p>
</div><h4 id='method.get_name' class="method hidden"><code id='get_name.v-1'>fn <a href='#method.get_name' class='fnname'>get_name</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#122-124' title='goto source code'>[src]</a></h4><h4 id='method.get_handle' class="method hidden"><code id='get_handle.v-1'>fn <a href='#method.get_handle' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#126-128' title='goto source code'>[src]</a></h4><h4 id='method.get_pipeline' class="method hidden"><code id='get_pipeline.v-1'>fn <a href='#method.get_pipeline' class='fnname'>get_pipeline</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn GraphicsPipelineAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#130-132' title='goto source code'>[src]</a></h4><h4 id='method.get_renderpass' class="method hidden"><code id='get_renderpass.v-1'>fn <a href='#method.get_renderpass' class='fnname'>get_renderpass</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#134-136' title='goto source code'>[src]</a></h4><h4 id='method.recompile' class="method hidden"><code id='recompile.v-1'>fn <a href='#method.recompile' class='fnname'>recompile</a>&lt;V:&nbsp;Vertex&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/generic_shader/struct.GenericShader.html" title="struct sfml_rust::canvas::managed::shader::generic_shader::GenericShader">GenericShader</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#138-143' title='goto source code'>[src]</a></h4></div><h3 id='impl-CompiledShader-1' class='impl'><code class='in-band'>impl CompiledShader for <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/text_shader/struct.TextShader.html" title="struct sfml_rust::canvas::managed::shader::text_shader::TextShader">TextShader</a></code><a href='#impl-CompiledShader-1' class='anchor'></a><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#40-163' title='goto source code'>[src]</a></h3><div class='docblock'><p>Convenience interface so we don't have to juggle shader types</p>
</div><div class='impl-items'><h4 id='method.new-1' class="method"><code id='new.v-2'>fn <a href='#method.new-1' class='fnname'>new</a>&lt;V:&nbsp;Vertex&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/text_shader/struct.TextShader.html" title="struct sfml_rust::canvas::managed::shader::text_shader::TextShader">TextShader</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#43-141' title='goto source code'>[src]</a></h4><div class='docblock'><p>This will explode when the shader does not want to compile</p>
</div><h4 id='method.get_name-1' class="method hidden"><code id='get_name.v-2'>fn <a href='#method.get_name-1' class='fnname'>get_name</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#143-145' title='goto source code'>[src]</a></h4><h4 id='method.get_handle-1' class="method hidden"><code id='get_handle.v-2'>fn <a href='#method.get_handle-1' class='fnname'>get_handle</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#147-149' title='goto source code'>[src]</a></h4><h4 id='method.get_pipeline-1' class="method hidden"><code id='get_pipeline.v-2'>fn <a href='#method.get_pipeline-1' class='fnname'>get_pipeline</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn GraphicsPipelineAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#151-153' title='goto source code'>[src]</a></h4><h4 id='method.get_renderpass-1' class="method hidden"><code id='get_renderpass.v-2'>fn <a href='#method.get_renderpass-1' class='fnname'>get_renderpass</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;</code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#154-156' title='goto source code'>[src]</a></h4><h4 id='method.recompile-1' class="method hidden"><code id='recompile.v-2'>fn <a href='#method.recompile-1' class='fnname'>recompile</a>&lt;V:&nbsp;Vertex&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;render_pass: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn RenderPassAbstract + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<br>) -&gt; <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/text_shader/struct.TextShader.html" title="struct sfml_rust::canvas::managed::shader::text_shader::TextShader">TextShader</a></code><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#157-162' title='goto source code'>[src]</a></h4></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
src="../../../../../implementors/sfml_rust/canvas/managed/shader/shader_common/trait.CompiledShader.js">
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "sfml_rust";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>

@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CompiledGraphicsPipelineResources` trait in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CompiledGraphicsPipelineResources"><title>sfml_rust::canvas::managed::shader::shader_common::CompiledGraphicsPipelineResources - Rust</title><link rel="stylesheet" type="text/css" href="../../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait CompiledGraphicsPipelineResources</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#provided-methods">Provided Methods</a><div class="sidebar-links"><a href="#method.compile">compile</a><a href="#method.convert_sr">convert_sr</a><a href="#method.convert_vk">convert_vk</a><a href="#method.get_path">get_path</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a href='index.html'>shader_common</a></p><script>window.sidebarCurrent = {name: 'CompiledGraphicsPipelineResources', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/shader_common.rs.html#31-98' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a href='index.html'>shader_common</a>::<wbr><a class="trait" href=''>CompiledGraphicsPipelineResources</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait CompiledGraphicsPipelineResources { <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CompiledShaderResources` trait in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, CompiledShaderResources"><title>sfml_rust::canvas::managed::shader::shader_common::CompiledShaderResources - Rust</title><link rel="stylesheet" type="text/css" href="../../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait CompiledShaderResources</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#provided-methods">Provided Methods</a><div class="sidebar-links"><a href="#method.compile">compile</a><a href="#method.convert_sr">convert_sr</a><a href="#method.convert_vk">convert_vk</a><a href="#method.get_path">get_path</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a href='index.html'>shader_common</a></p><script>window.sidebarCurrent = {name: 'CompiledShaderResources', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/shader_common.rs.html#32-99' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a href='index.html'>shader_common</a>::<wbr><a class="trait" href=''>CompiledShaderResources</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait CompiledShaderResources {
fn <a href='#method.get_path' class='fnname'>get_path</a>(filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a> { ... } fn <a href='#method.get_path' class='fnname'>get_path</a>(filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a> { ... }
<div class='item-spacer'></div> fn <a href='#method.compile' class='fnname'>compile</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filepath: <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Entry, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;ShaderModule&gt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> { ... } <div class='item-spacer'></div> fn <a href='#method.compile' class='fnname'>compile</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filepath: <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Entry, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;ShaderModule&gt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> { ... }
<div class='item-spacer'></div> fn <a href='#method.convert_vk' class='fnname'>convert_vk</a>(shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a>) -&gt; GraphicsShaderType { ... } <div class='item-spacer'></div> fn <a href='#method.convert_vk' class='fnname'>convert_vk</a>(shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a>) -&gt; GraphicsShaderType { ... }
@ -6,8 +6,8 @@
}</pre></div><div class='docblock'><p>Inheriting this gives private functions to grab resources</p> }</pre></div><div class='docblock'><p>Inheriting this gives private functions to grab resources</p>
</div> </div>
<h2 id='provided-methods' class='small-section-header'>Provided methods<a href='#provided-methods' class='anchor'></a></h2><div class='methods'><h3 id='method.get_path' class='method'><code id='get_path.v'>fn <a href='#method.get_path' class='fnname'>get_path</a>(filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a></code></h3><h3 id='method.compile' class='method'><code id='compile.v'>fn <a href='#method.compile' class='fnname'>compile</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;filepath: <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a><br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Entry, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;ShaderModule&gt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></h3><h3 id='method.convert_vk' class='method'><code id='convert_vk.v'>fn <a href='#method.convert_vk' class='fnname'>convert_vk</a>(shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a>) -&gt; GraphicsShaderType</code></h3><h3 id='method.convert_sr' class='method'><code id='convert_sr.v'>fn <a href='#method.convert_sr' class='fnname'>convert_sr</a>(shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a>) -&gt; ShaderKind</code></h3></div><span class='loading-content'>Loading content...</span> <h2 id='provided-methods' class='small-section-header'>Provided methods<a href='#provided-methods' class='anchor'></a></h2><div class='methods'><h3 id='method.get_path' class='method'><code id='get_path.v'>fn <a href='#method.get_path' class='fnname'>get_path</a>(filename: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a></code></h3><h3 id='method.compile' class='method'><code id='compile.v'>fn <a href='#method.compile' class='fnname'>compile</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;filepath: <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Device&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a><br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Entry, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;ShaderModule&gt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></h3><h3 id='method.convert_vk' class='method'><code id='convert_vk.v'>fn <a href='#method.convert_vk' class='fnname'>convert_vk</a>(shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a>) -&gt; GraphicsShaderType</code></h3><h3 id='method.convert_sr' class='method'><code id='convert_sr.v'>fn <a href='#method.convert_sr' class='fnname'>convert_sr</a>(shader_type: <a class="enum" href="../../../../../sfml_rust/canvas/managed/shader/shader_common/enum.ShaderType.html" title="enum sfml_rust::canvas::managed::shader::shader_common::ShaderType">ShaderType</a>) -&gt; ShaderKind</code></h3></div><span class='loading-content'>Loading content...</span>
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-CompiledGraphicsPipelineResources' class='impl'><code class='in-band'>impl CompiledGraphicsPipelineResources for <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/generic_shader/struct.GenericShader.html" title="struct sfml_rust::canvas::managed::shader::generic_shader::GenericShader">GenericShader</a></code><a href='#impl-CompiledGraphicsPipelineResources' class='anchor'></a><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#38' title='goto source code'>[src]</a></h3><div class='docblock'><p>Gives CanvasShader the resource functions</p> <h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-CompiledShaderResources' class='impl'><code class='in-band'>impl CompiledShaderResources for <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/generic_shader/struct.GenericShader.html" title="struct sfml_rust::canvas::managed::shader::generic_shader::GenericShader">GenericShader</a></code><a href='#impl-CompiledShaderResources' class='anchor'></a><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#40' title='goto source code'>[src]</a></h3><div class='docblock'><p>Gives CanvasShader the resource functions</p>
</div><div class='impl-items'></div><h3 id='impl-CompiledGraphicsPipelineResources-1' class='impl'><code class='in-band'>impl CompiledGraphicsPipelineResources for <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/text_shader/struct.TextShader.html" title="struct sfml_rust::canvas::managed::shader::text_shader::TextShader">TextShader</a></code><a href='#impl-CompiledGraphicsPipelineResources-1' class='anchor'></a><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#44' title='goto source code'>[src]</a></h3><div class='docblock'><p>Gives CanvasShader the resource functions</p> </div><div class='impl-items'></div><h3 id='impl-CompiledShaderResources-1' class='impl'><code class='in-band'>impl CompiledShaderResources for <a class="struct" href="../../../../../sfml_rust/canvas/managed/shader/text_shader/struct.TextShader.html" title="struct sfml_rust::canvas::managed::shader::text_shader::TextShader">TextShader</a></code><a href='#impl-CompiledShaderResources-1' class='anchor'></a><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#37' title='goto source code'>[src]</a></h3><div class='docblock'><p>Gives CanvasShader the resource functions</p>
</div><div class='impl-items'></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async </div><div class='impl-items'></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
src="../../../../../implementors/sfml_rust/canvas/managed/shader/shader_common/trait.CompiledGraphicsPipelineResources.js"> src="../../../../../implementors/sfml_rust/canvas/managed/shader/shader_common/trait.CompiledShaderResources.js">
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "sfml_rust";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html> </script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "sfml_rust";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>

@ -1,3 +1,3 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `text_shader` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, text_shader"><title>sfml_rust::canvas::managed::shader::text_shader - Rust</title><link rel="stylesheet" type="text/css" href="../../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module text_shader</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><p class='location'><a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a></p><script>window.sidebarCurrent = {name: 'text_shader', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#1-169' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a class="mod" href=''>text_shader</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `text_shader` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, text_shader"><title>sfml_rust::canvas::managed::shader::text_shader - Rust</title><link rel="stylesheet" type="text/css" href="../../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module text_shader</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><p class='location'><a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a></p><script>window.sidebarCurrent = {name: 'text_shader', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#1-163' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../../../index.html'>sfml_rust</a>::<wbr><a href='../../../index.html'>canvas</a>::<wbr><a href='../../index.html'>managed</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a class="mod" href=''>text_shader</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.GlyphInstance.html" title='sfml_rust::canvas::managed::shader::text_shader::GlyphInstance struct'>GlyphInstance</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.TextShader.html" title='sfml_rust::canvas::managed::shader::text_shader::TextShader struct'>TextShader</a></td><td class='docblock-short'><p>CanvasShader holds the pipeline and render pass for the input shader source</p> <table><tr class='module-item'><td><a class="struct" href="struct.TextShader.html" title='sfml_rust::canvas::managed::shader::text_shader::TextShader struct'>TextShader</a></td><td class='docblock-short'><p>CanvasShader holds the pipeline and render pass for the input shader source</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "sfml_rust";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html> </td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "sfml_rust";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>

@ -1 +1 @@
initSidebarItems({"struct":[["GlyphInstance",""],["TextShader","CanvasShader holds the pipeline and render pass for the input shader source"]]}); initSidebarItems({"struct":[["TextShader","CanvasShader holds the pipeline and render pass for the input shader source"]]});

File diff suppressed because one or more lines are too long

@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `main` fn in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, main"><title>sfml_rust::main - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../dark.css"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../sfml_rust/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class='location'><a href='index.html'>sfml_rust</a></p><script>window.sidebarCurrent = {name: 'main', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../src/sfml_rust/main.rs.html#60-215' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='index.html'>sfml_rust</a>::<wbr><a class="fn" href=''>main</a></span></h1><pre class='rust fn'>pub fn main()</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../";window.currentCrate = "sfml_rust";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></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="API documentation for the Rust `main` fn in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, main"><title>sfml_rust::main - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../dark.css"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../sfml_rust/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class='location'><a href='index.html'>sfml_rust</a></p><script>window.sidebarCurrent = {name: 'main', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../src/sfml_rust/main.rs.html#61-219' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='index.html'>sfml_rust</a>::<wbr><a class="fn" href=''>main</a></span></h1><pre class='rust fn'>pub fn main()</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../";window.currentCrate = "sfml_rust";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>

@ -1,3 +1,3 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `sfml_rust` crate."><meta name="keywords" content="rust, rustlang, rust-lang, sfml_rust"><title>sfml_rust - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../dark.css"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../sfml_rust/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Crate sfml_rust</p><div class="sidebar-elems"><a id='all-types' href='all.html'><p>See all sfml_rust's items</p></a><div class="block items"><ul><li><a href="#modules">Modules</a></li><li><a href="#functions">Functions</a></li></ul></div><p class='location'></p><script>window.sidebarCurrent = {name: 'sfml_rust', ty: 'mod', relpath: '../'};</script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../src/sfml_rust/main.rs.html#1-215' title='goto source code'>[src]</a></span><span class='in-band'>Crate <a class="mod" href=''>sfml_rust</a></span></h1><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `sfml_rust` crate."><meta name="keywords" content="rust, rustlang, rust-lang, sfml_rust"><title>sfml_rust - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../dark.css"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../sfml_rust/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Crate sfml_rust</p><div class="sidebar-elems"><a id='all-types' href='all.html'><p>See all sfml_rust's items</p></a><div class="block items"><ul><li><a href="#modules">Modules</a></li><li><a href="#functions">Functions</a></li></ul></div><p class='location'></p><script>window.sidebarCurrent = {name: 'sfml_rust', ty: 'mod', relpath: '../'};</script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../src/sfml_rust/main.rs.html#1-219' title='goto source code'>[src]</a></span><span class='in-band'>Crate <a class="mod" href=''>sfml_rust</a></span></h1><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
<table><tr class='module-item'><td><a class="mod" href="canvas/index.html" title='sfml_rust::canvas mod'>canvas</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="compute/index.html" title='sfml_rust::compute mod'>compute</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="sprite/index.html" title='sfml_rust::sprite mod'>sprite</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="util/index.html" title='sfml_rust::util mod'>util</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="vkprocessor/index.html" title='sfml_rust::vkprocessor mod'>vkprocessor</a></td><td class='docblock-short'></td></tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2> <table><tr class='module-item'><td><a class="mod" href="canvas/index.html" title='sfml_rust::canvas mod'>canvas</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="compute/index.html" title='sfml_rust::compute mod'>compute</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="sprite/index.html" title='sfml_rust::sprite mod'>sprite</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="util/index.html" title='sfml_rust::util mod'>util</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="vkprocessor/index.html" title='sfml_rust::vkprocessor mod'>vkprocessor</a></td><td class='docblock-short'></td></tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
<table><tr class='module-item'><td><a class="fn" href="fn.main.html" title='sfml_rust::main fn'>main</a></td><td class='docblock-short'></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../";window.currentCrate = "sfml_rust";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html> <table><tr class='module-item'><td><a class="fn" href="fn.main.html" title='sfml_rust::main fn'>main</a></td><td class='docblock-short'></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../";window.currentCrate = "sfml_rust";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `sprite` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, sprite"><title>sfml_rust::sprite - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../sfml_rust/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Module sprite</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><p class='location'><a href='../index.html'>sfml_rust</a></p><script>window.sidebarCurrent = {name: 'sprite', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#1-41' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../index.html'>sfml_rust</a>::<wbr><a class="mod" href=''>sprite</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `sprite` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, sprite"><title>sfml_rust::sprite - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../sfml_rust/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Module sprite</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><p class='location'><a href='../index.html'>sfml_rust</a></p><script>window.sidebarCurrent = {name: 'sprite', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#1-61' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../index.html'>sfml_rust</a>::<wbr><a class="mod" href=''>sprite</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.Sprite.html" title='sfml_rust::sprite::Sprite struct'>Sprite</a></td><td class='docblock-short'></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "sfml_rust";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> <table><tr class='module-item'><td><a class="struct" href="struct.Sprite.html" title='sfml_rust::sprite::Sprite struct'>Sprite</a></td><td class='docblock-short'></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "sfml_rust";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

@ -1,11 +1,11 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Sprite` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, Sprite"><title>sfml_rust::sprite::Sprite - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../sfml_rust/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct Sprite</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.verts">verts</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.new">new</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-DrawableTest">DrawableTest</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../index.html'>sfml_rust</a>::<wbr><a href='index.html'>sprite</a></p><script>window.sidebarCurrent = {name: 'Sprite', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#10-16' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../index.html'>sfml_rust</a>::<wbr><a href='index.html'>sprite</a>::<wbr><a class="struct" href=''>Sprite</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct Sprite { <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Sprite` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, Sprite"><title>sfml_rust::sprite::Sprite - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../sfml_rust/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct Sprite</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.verts">verts</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.new">new</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Drawable">Drawable</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../index.html'>sfml_rust</a>::<wbr><a href='index.html'>sprite</a></p><script>window.sidebarCurrent = {name: 'Sprite', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#9-15' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../index.html'>sfml_rust</a>::<wbr><a href='index.html'>sprite</a>::<wbr><a class="struct" href=''>Sprite</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct Sprite {
pub verts: <a class="enum" href="../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a>, pub verts: <a class="enum" href="../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a>,
// some fields omitted // some fields omitted
}</pre></div><div class='docblock'></div><h2 id='fields' class='fields small-section-header'> }</pre></div><div class='docblock'></div><h2 id='fields' class='fields small-section-header'>
Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.verts" class="structfield small-section-header"><a href="#structfield.verts" class="anchor field"></a><code id="verts.v">verts: <a class="enum" href="../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code></span><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl' class='anchor'></a><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#19-35' title='goto source code'>[src]</a></h3><div class='docblock'><p>Container class which implements drawable.</p> Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.verts" class="structfield small-section-header"><a href="#structfield.verts" class="anchor field"></a><code id="verts.v">verts: <a class="enum" href="../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code></span><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl' class='anchor'></a><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#18-55' title='goto source code'>[src]</a></h3><div class='docblock'><p>Container class which implements drawable.</p>
</div><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v'>pub fn <a href='#method.new' class='fnname'>new</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;depth: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture_handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>&gt;<br>) -&gt; <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#22-34' title='goto source code'>[src]</a></h4><div class='docblock'></div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-DrawableTest' class='impl'><code class='in-band'>impl <a class="trait" href="../../sfml_rust/canvas/canvas_frame/trait.DrawableTest.html" title="trait sfml_rust::canvas::canvas_frame::DrawableTest">DrawableTest</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-DrawableTest' class='anchor'></a><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#36-41' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get' class="method hidden"><code id='get.v'>fn <a href='../../sfml_rust/canvas/canvas_frame/trait.DrawableTest.html#tymethod.get' class='fnname'>get</a>(&amp;self) -&gt; <a class="enum" href="../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#37-39' title='goto source code'>[src]</a></h4></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#9' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#9' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p> </div><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v'>pub fn <a href='#method.new' class='fnname'>new</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;depth: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture_handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>&gt;<br>) -&gt; <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#21-54' title='goto source code'>[src]</a></h4><div class='docblock'></div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Drawable' class='impl'><code class='in-band'>impl <a class="trait" href="../../sfml_rust/canvas/canvas_frame/trait.Drawable.html" title="trait sfml_rust::canvas::canvas_frame::Drawable">Drawable</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Drawable' class='anchor'></a><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#56-61' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get' class="method hidden"><code id='get.v'>fn <a href='../../sfml_rust/canvas/canvas_frame/trait.Drawable.html#tymethod.get' class='fnname'>get</a>(&amp;self) -&gt; <a class="enum" href="../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#57-59' title='goto source code'>[src]</a></h4></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#8' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#8' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p> </div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#9' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#9' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p> </div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#8' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../src/sfml_rust/sprite.rs.html#8' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p> </div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../sfml_rust/sprite/struct.Sprite.html" title="struct sfml_rust::sprite::Sprite">Sprite</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p> </div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p> </div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>

@ -1,13 +1,13 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `VertexTypes` enum in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, VertexTypes"><title>sfml_rust::util::vertex::VertexTypes - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Enum VertexTypes</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.TextureType">TextureType</a><a href="#variant.ImageType">ImageType</a><a href="#variant.ColorType">ColorType</a><a href="#variant.ThreeDType">ThreeDType</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a></p><script>window.sidebarCurrent = {name: 'VertexTypes', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#46-52' title='goto source code'>[src]</a></span><span class='in-band'>Enum <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a>::<wbr><a class="enum" href=''>VertexTypes</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust enum'>pub enum VertexTypes { <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `VertexTypes` enum in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, VertexTypes"><title>sfml_rust::util::vertex::VertexTypes - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Enum VertexTypes</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.TextureType">TextureType</a><a href="#variant.ImageType">ImageType</a><a href="#variant.ColorType">ColorType</a><a href="#variant.ThreeDType">ThreeDType</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a></p><script>window.sidebarCurrent = {name: 'VertexTypes', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#54-60' title='goto source code'>[src]</a></span><span class='in-band'>Enum <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a>::<wbr><a class="enum" href=''>VertexTypes</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust enum'>pub enum VertexTypes {
TextureType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a>&gt;,&nbsp;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>&gt;), TextureType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a>&gt;,&nbsp;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>&gt;),
ImageType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a>&gt;,&nbsp;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>&gt;), ImageType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a>&gt;,&nbsp;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>&gt;),
ColorType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a>&gt;), ColorType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a>&gt;),
ThreeDType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a>&gt;), ThreeDType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a>&gt;),
}</pre></div><h2 id='variants' class='variants small-section-header'> }</pre></div><h2 id='variants' class='variants small-section-header'>
Variants<a href='#variants' class='anchor'></a></h2> Variants<a href='#variants' class='anchor'></a></h2>
<div id="variant.TextureType" class="variant small-section-header"><a href="#variant.TextureType" class="anchor field"></a><code id='TextureType.v'>TextureType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a>&gt;,&nbsp;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>&gt;)</code></div><div id="variant.ImageType" class="variant small-section-header"><a href="#variant.ImageType" class="anchor field"></a><code id='ImageType.v'>ImageType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a>&gt;,&nbsp;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>&gt;)</code></div><div id="variant.ColorType" class="variant small-section-header"><a href="#variant.ColorType" class="anchor field"></a><code id='ColorType.v'>ColorType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a>&gt;)</code></div><div id="variant.ThreeDType" class="variant small-section-header"><a href="#variant.ThreeDType" class="anchor field"></a><code id='ThreeDType.v'>ThreeDType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a>&gt;)</code></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#45' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#45' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p> <div id="variant.TextureType" class="variant small-section-header"><a href="#variant.TextureType" class="anchor field"></a><code id='TextureType.v'>TextureType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a>&gt;,&nbsp;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>&gt;)</code></div><div id="variant.ImageType" class="variant small-section-header"><a href="#variant.ImageType" class="anchor field"></a><code id='ImageType.v'>ImageType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a>&gt;,&nbsp;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>&gt;)</code></div><div id="variant.ColorType" class="variant small-section-header"><a href="#variant.ColorType" class="anchor field"></a><code id='ColorType.v'>ColorType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a>&gt;)</code></div><div id="variant.ThreeDType" class="variant small-section-header"><a href="#variant.ThreeDType" class="anchor field"></a><code id='ThreeDType.v'>ThreeDType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a>&gt;)</code></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#53' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#53' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p> </div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#45' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#45' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p> </div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#53' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#53' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p> </div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../../../sfml_rust/util/vertex/enum.VertexTypes.html" title="enum sfml_rust::util::vertex::VertexTypes">VertexTypes</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p> </div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p> </div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>

@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `vertex` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, vertex"><title>sfml_rust::util::vertex - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module vertex</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a></p><script>window.sidebarCurrent = {name: 'vertex', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#1-60' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a class="mod" href=''>vertex</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `vertex` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, vertex"><title>sfml_rust::util::vertex - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module vertex</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a></p><script>window.sidebarCurrent = {name: 'vertex', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#1-68' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a class="mod" href=''>vertex</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.CanvasFrameAllocation.html" title='sfml_rust::util::vertex::CanvasFrameAllocation struct'>CanvasFrameAllocation</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.ColorVertex2D.html" title='sfml_rust::util::vertex::ColorVertex2D struct'>ColorVertex2D</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.ImageVertex2D.html" title='sfml_rust::util::vertex::ImageVertex2D struct'>ImageVertex2D</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.TextVertex3D.html" title='sfml_rust::util::vertex::TextVertex3D struct'>TextVertex3D</a></td><td class='docblock-short'><p>Text vertex 3d with vertex position</p> <table><tr class='module-item'><td><a class="struct" href="struct.CanvasFrameAllocation.html" title='sfml_rust::util::vertex::CanvasFrameAllocation struct'>CanvasFrameAllocation</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.ColorVertex3D.html" title='sfml_rust::util::vertex::ColorVertex3D struct'>ColorVertex3D</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.GlyphInstance.html" title='sfml_rust::util::vertex::GlyphInstance struct'>GlyphInstance</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.ImageVertex3D.html" title='sfml_rust::util::vertex::ImageVertex3D struct'>ImageVertex3D</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.TextVertex3D.html" title='sfml_rust::util::vertex::TextVertex3D struct'>TextVertex3D</a></td><td class='docblock-short'><p>Text vertex 3d with vertex position</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.TextureVertex2D.html" title='sfml_rust::util::vertex::TextureVertex2D struct'>TextureVertex2D</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Vertex3D.html" title='sfml_rust::util::vertex::Vertex3D struct'>Vertex3D</a></td><td class='docblock-short'></td></tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2> </td></tr><tr class='module-item'><td><a class="struct" href="struct.TextureVertex3D.html" title='sfml_rust::util::vertex::TextureVertex3D struct'>TextureVertex3D</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Vertex3D.html" title='sfml_rust::util::vertex::Vertex3D struct'>Vertex3D</a></td><td class='docblock-short'></td></tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
<table><tr class='module-item'><td><a class="enum" href="enum.VertexTypes.html" title='sfml_rust::util::vertex::VertexTypes enum'>VertexTypes</a></td><td class='docblock-short'></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "sfml_rust";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html> <table><tr class='module-item'><td><a class="enum" href="enum.VertexTypes.html" title='sfml_rust::util::vertex::VertexTypes enum'>VertexTypes</a></td><td class='docblock-short'></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "sfml_rust";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>

@ -1 +1 @@
initSidebarItems({"enum":[["VertexTypes",""]],"struct":[["CanvasFrameAllocation",""],["ColorVertex2D",""],["ImageVertex2D",""],["TextVertex3D","Text vertex 3d with vertex position"],["TextureVertex2D",""],["Vertex3D",""]]}); initSidebarItems({"enum":[["VertexTypes",""]],"struct":[["CanvasFrameAllocation",""],["ColorVertex3D",""],["GlyphInstance",""],["ImageVertex3D",""],["TextVertex3D","Text vertex 3d with vertex position"],["TextureVertex3D",""],["Vertex3D",""]]});

File diff suppressed because one or more lines are too long

@ -1,13 +1,13 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `ColorVertex2D` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, ColorVertex2D"><title>sfml_rust::util::vertex::ColorVertex2D - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct ColorVertex2D</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.v_position">v_position</a><a href="#structfield.color">color</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Vertex">Vertex</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a></p><script>window.sidebarCurrent = {name: 'ColorVertex2D', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#14-17' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a>::<wbr><a class="struct" href=''>ColorVertex2D</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct ColorVertex2D { <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `ColorVertex3D` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, ColorVertex3D"><title>sfml_rust::util::vertex::ColorVertex3D - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct ColorVertex3D</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.v_position">v_position</a><a href="#structfield.color">color</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Vertex">Vertex</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a></p><script>window.sidebarCurrent = {name: 'ColorVertex3D', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#14-17' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a>::<wbr><a class="struct" href=''>ColorVertex3D</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct ColorVertex3D {
pub v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>, pub v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>,
pub color: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>, pub color: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>,
}</pre></div><h2 id='fields' class='fields small-section-header'> }</pre></div><h2 id='fields' class='fields small-section-header'>
Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.v_position" class="structfield small-section-header"><a href="#structfield.v_position" class="anchor field"></a><code id="v_position.v">v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code></span><span id="structfield.color" class="structfield small-section-header"><a href="#structfield.color" class="anchor field"></a><code id="color.v">color: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a></code></span><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p> Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.v_position" class="structfield small-section-header"><a href="#structfield.v_position" class="anchor field"></a><code id="v_position.v">v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a></code></span><span id="structfield.color" class="structfield small-section-header"><a href="#structfield.color" class="anchor field"></a><code id="color.v">color: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a></code></span><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p> </div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p> </div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p> </div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#13' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3 id='impl-Vertex' class='impl'><code class='in-band'>impl Vertex for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a href='#impl-Vertex' class='anchor'></a></h3><div class='impl-items'><h4 id='method.member' class="method hidden"><code id='member.v'>fn <a href='#method.member' class='fnname'>member</a>(name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;VertexMemberInfo&gt;</code></h4><div class='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p> </div></div><h3 id='impl-Vertex' class='impl'><code class='in-band'>impl Vertex for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a href='#impl-Vertex' class='anchor'></a></h3><div class='impl-items'><h4 id='method.member' class="method hidden"><code id='member.v'>fn <a href='#method.member' class='fnname'>member</a>(name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;VertexMemberInfo&gt;</code></h4><div class='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex2D.html" title="struct sfml_rust::util::vertex::ColorVertex2D">ColorVertex2D</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p> </div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ColorVertex3D.html" title="struct sfml_rust::util::vertex::ColorVertex3D">ColorVertex3D</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p> </div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p> </div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p> </details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>

@ -1,13 +1,13 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `ImageVertex2D` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, ImageVertex2D"><title>sfml_rust::util::vertex::ImageVertex2D - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct ImageVertex2D</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.v_position">v_position</a><a href="#structfield.color">color</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Vertex">Vertex</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a></p><script>window.sidebarCurrent = {name: 'ImageVertex2D', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#21-24' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a>::<wbr><a class="struct" href=''>ImageVertex2D</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct ImageVertex2D { <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `ImageVertex3D` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, ImageVertex3D"><title>sfml_rust::util::vertex::ImageVertex3D - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct ImageVertex3D</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.v_position">v_position</a><a href="#structfield.ti_position">ti_position</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Vertex">Vertex</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a></p><script>window.sidebarCurrent = {name: 'ImageVertex3D', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#21-24' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a>::<wbr><a class="struct" href=''>ImageVertex3D</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct ImageVertex3D {
pub v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>, pub v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>,
pub color: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>, pub ti_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>,
}</pre></div><h2 id='fields' class='fields small-section-header'> }</pre></div><h2 id='fields' class='fields small-section-header'>
Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.v_position" class="structfield small-section-header"><a href="#structfield.v_position" class="anchor field"></a><code id="v_position.v">v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code></span><span id="structfield.color" class="structfield small-section-header"><a href="#structfield.color" class="anchor field"></a><code id="color.v">color: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a></code></span><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p> Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.v_position" class="structfield small-section-header"><a href="#structfield.v_position" class="anchor field"></a><code id="v_position.v">v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a></code></span><span id="structfield.ti_position" class="structfield small-section-header"><a href="#structfield.ti_position" class="anchor field"></a><code id="ti_position.v">ti_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code></span><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p> </div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p> </div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p> </div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#20' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3 id='impl-Vertex' class='impl'><code class='in-band'>impl Vertex for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a href='#impl-Vertex' class='anchor'></a></h3><div class='impl-items'><h4 id='method.member' class="method hidden"><code id='member.v'>fn <a href='#method.member' class='fnname'>member</a>(name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;VertexMemberInfo&gt;</code></h4><div class='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p> </div></div><h3 id='impl-Vertex' class='impl'><code class='in-band'>impl Vertex for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a href='#impl-Vertex' class='anchor'></a></h3><div class='impl-items'><h4 id='method.member' class="method hidden"><code id='member.v'>fn <a href='#method.member' class='fnname'>member</a>(name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;VertexMemberInfo&gt;</code></h4><div class='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html" title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p> </div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.ImageVertex3D.html" title="struct sfml_rust::util::vertex::ImageVertex3D">ImageVertex3D</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p> </div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p> </div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p> </details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>

@ -1,13 +1,13 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TextureVertex2D` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, TextureVertex2D"><title>sfml_rust::util::vertex::TextureVertex2D - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct TextureVertex2D</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.v_position">v_position</a><a href="#structfield.ti_position">ti_position</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Vertex">Vertex</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a></p><script>window.sidebarCurrent = {name: 'TextureVertex2D', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#7-10' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a>::<wbr><a class="struct" href=''>TextureVertex2D</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct TextureVertex2D { <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TextureVertex3D` struct in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, TextureVertex3D"><title>sfml_rust::util::vertex::TextureVertex3D - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct TextureVertex3D</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.v_position">v_position</a><a href="#structfield.ti_position">ti_position</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Vertex">Vertex</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Content">Content</a><a href="#impl-Erased">Erased</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-SafeBorrow%3CT%3E">SafeBorrow&lt;T&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SetParameter">SetParameter</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a></p><script>window.sidebarCurrent = {name: 'TextureVertex3D', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#7-10' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../index.html'>sfml_rust</a>::<wbr><a href='../index.html'>util</a>::<wbr><a href='index.html'>vertex</a>::<wbr><a class="struct" href=''>TextureVertex3D</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct TextureVertex3D {
pub v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>, pub v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>,
pub ti_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>, pub ti_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>,
}</pre></div><h2 id='fields' class='fields small-section-header'> }</pre></div><h2 id='fields' class='fields small-section-header'>
Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.v_position" class="structfield small-section-header"><a href="#structfield.v_position" class="anchor field"></a><code id="v_position.v">v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code></span><span id="structfield.ti_position" class="structfield small-section-header"><a href="#structfield.ti_position" class="anchor field"></a><code id="ti_position.v">ti_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code></span><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p> Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.v_position" class="structfield small-section-header"><a href="#structfield.v_position" class="anchor field"></a><code id="v_position.v">v_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a></code></span><span id="structfield.ti_position" class="structfield small-section-header"><a href="#structfield.ti_position" class="anchor field"></a><code id="ti_position.v">ti_position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code></span><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p> </div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p> </div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p> </div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../src/sfml_rust/util/vertex.rs.html#6' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3 id='impl-Vertex' class='impl'><code class='in-band'>impl Vertex for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a href='#impl-Vertex' class='anchor'></a></h3><div class='impl-items'><h4 id='method.member' class="method hidden"><code id='member.v'>fn <a href='#method.member' class='fnname'>member</a>(name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;VertexMemberInfo&gt;</code></h4><div class='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p> </div></div><h3 id='impl-Vertex' class='impl'><code class='in-band'>impl Vertex for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a href='#impl-Vertex' class='anchor'></a></h3><div class='impl-items'><h4 id='method.member' class="method hidden"><code id='member.v'>fn <a href='#method.member' class='fnname'>member</a>(name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;VertexMemberInfo&gt;</code></h4><div class='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html" title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p> </div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../sfml_rust/util/vertex/struct.TextureVertex3D.html" title="struct sfml_rust::util::vertex::TextureVertex3D">TextureVertex3D</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p> </div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p> </div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p> </details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>

@ -26,7 +26,7 @@ This includes the physical device, queues, compute and canvas state</p>
</div><h4 id='method.new_compute_buffer' class="method"><code id='new_compute_buffer.v'>pub fn <a href='#method.new_compute_buffer' class='fnname'>new_compute_buffer</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;data: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;dimensions: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;stride: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../sfml_rust/compute/managed/handles/struct.CompuBufferHandle.html" title="struct sfml_rust::compute::managed::handles::CompuBufferHandle">CompuBufferHandle</a>&gt;</code><a class='srclink' href='../../src/sfml_rust/vkprocessor.rs.html#211-213' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a compute buffer and returns it's handle</p> </div><h4 id='method.new_compute_buffer' class="method"><code id='new_compute_buffer.v'>pub fn <a href='#method.new_compute_buffer' class='fnname'>new_compute_buffer</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;data: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;dimensions: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;stride: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../sfml_rust/compute/managed/handles/struct.CompuBufferHandle.html" title="struct sfml_rust::compute::managed::handles::CompuBufferHandle">CompuBufferHandle</a>&gt;</code><a class='srclink' href='../../src/sfml_rust/vkprocessor.rs.html#211-213' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a compute buffer and returns it's handle</p>
</div><h4 id='method.read_compute_buffer' class="method"><code id='read_compute_buffer.v'>pub fn <a href='#method.read_compute_buffer' class='fnname'>read_compute_buffer</a>(&amp;mut self, handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../sfml_rust/compute/managed/handles/struct.CompuBufferHandle.html" title="struct sfml_rust::compute::managed::handles::CompuBufferHandle">CompuBufferHandle</a>&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code><a class='srclink' href='../../src/sfml_rust/vkprocessor.rs.html#216-218' title='goto source code'>[src]</a></h4><div class='docblock'><p>Takes a compute buffer handle and returns the read data</p> </div><h4 id='method.read_compute_buffer' class="method"><code id='read_compute_buffer.v'>pub fn <a href='#method.read_compute_buffer' class='fnname'>read_compute_buffer</a>(&amp;mut self, handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../sfml_rust/compute/managed/handles/struct.CompuBufferHandle.html" title="struct sfml_rust::compute::managed::handles::CompuBufferHandle">CompuBufferHandle</a>&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code><a class='srclink' href='../../src/sfml_rust/vkprocessor.rs.html#216-218' title='goto source code'>[src]</a></h4><div class='docblock'><p>Takes a compute buffer handle and returns the read data</p>
</div><h4 id='method.write_compute_buffer' class="method"><code id='write_compute_buffer.v'>pub fn <a href='#method.write_compute_buffer' class='fnname'>write_compute_buffer</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../sfml_rust/compute/managed/handles/struct.CompuBufferHandle.html" title="struct sfml_rust::compute::managed::handles::CompuBufferHandle">CompuBufferHandle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;data: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;<br>)</code><a class='srclink' href='../../src/sfml_rust/vkprocessor.rs.html#221-223' title='goto source code'>[src]</a></h4><div class='docblock'><p>Takes a compute buffer handle and writes the received data</p> </div><h4 id='method.write_compute_buffer' class="method"><code id='write_compute_buffer.v'>pub fn <a href='#method.write_compute_buffer' class='fnname'>write_compute_buffer</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;handle: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../sfml_rust/compute/managed/handles/struct.CompuBufferHandle.html" title="struct sfml_rust::compute::managed::handles::CompuBufferHandle">CompuBufferHandle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;data: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;<br>)</code><a class='srclink' href='../../src/sfml_rust/vkprocessor.rs.html#221-223' title='goto source code'>[src]</a></h4><div class='docblock'><p>Takes a compute buffer handle and writes the received data</p>
</div><h4 id='method.run' class="method"><code id='run.v'>pub fn <a href='#method.run' class='fnname'>run</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;surface: &amp;'a <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Surface&lt;Window&gt;&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;canvas_frame: <a class="struct" href="../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;compute_frame: <a class="struct" href="../../sfml_rust/compute/compu_frame/struct.CompuFrame.html" title="struct sfml_rust::compute::compu_frame::CompuFrame">CompuFrame</a><br>)</code><a class='srclink' href='../../src/sfml_rust/vkprocessor.rs.html#226-321' title='goto source code'>[src]</a></h4><div class='docblock'></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../sfml_rust/vkprocessor/struct.VkProcessor.html" title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a>&lt;'a&gt;</code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../sfml_rust/vkprocessor/struct.VkProcessor.html" title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a>&lt;'a&gt;</code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../sfml_rust/vkprocessor/struct.VkProcessor.html" title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a>&lt;'a&gt;</code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../sfml_rust/vkprocessor/struct.VkProcessor.html" title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a>&lt;'a&gt;</code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../sfml_rust/vkprocessor/struct.VkProcessor.html" title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a>&lt;'a&gt;</code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p> </div><h4 id='method.run' class="method"><code id='run.v'>pub fn <a href='#method.run' class='fnname'>run</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;surface: &amp;'a <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Surface&lt;Window&gt;&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;canvas_frame: <a class="struct" href="../../sfml_rust/canvas/canvas_frame/struct.CanvasFrame.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrame">CanvasFrame</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;compute_frame: <a class="struct" href="../../sfml_rust/compute/compu_frame/struct.CompuFrame.html" title="struct sfml_rust::compute::compu_frame::CompuFrame">CompuFrame</a><br>)</code><a class='srclink' href='../../src/sfml_rust/vkprocessor.rs.html#226-321' title='goto source code'>[src]</a></h4><div class='docblock'></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../sfml_rust/vkprocessor/struct.VkProcessor.html" title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a>&lt;'a&gt;</code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../sfml_rust/vkprocessor/struct.VkProcessor.html" title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a>&lt;'a&gt;</code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../sfml_rust/vkprocessor/struct.VkProcessor.html" title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a>&lt;'a&gt;</code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../sfml_rust/vkprocessor/struct.VkProcessor.html" title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a>&lt;'a&gt;</code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../sfml_rust/vkprocessor/struct.VkProcessor.html" title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a>&lt;'a&gt;</code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p> </div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p> </div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/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/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p> </div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/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/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>

@ -26,8 +26,6 @@
<span id="26">26</span> <span id="26">26</span>
<span id="27">27</span> <span id="27">27</span>
<span id="28">28</span> <span id="28">28</span>
<span id="29">29</span>
<span id="30">30</span>
</pre><div class="example-wrap"><pre class="rust "> </pre><div class="example-wrap"><pre class="rust ">
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">sync</span>::<span class="ident">Arc</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">sync</span>::<span class="ident">Arc</span>;
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">HashMap</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">HashMap</span>;
@ -35,27 +33,25 @@
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="kw-2">*</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">dynamic_vertex</span>::<span class="ident">RuntimeVertexDef</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">dynamic_vertex</span>::<span class="ident">RuntimeVertexDef</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasTextureHandle</span>, <span class="ident">CanvasImageHandle</span>, <span class="ident">CanvasFontHandle</span>, <span class="ident">Handle</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasTextureHandle</span>, <span class="ident">CanvasImageHandle</span>, <span class="ident">CanvasFontHandle</span>, <span class="ident">Handle</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">text_shader</span>::<span class="ident">GlyphInstance</span>;
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::<span class="ident">Vertex</span>; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::<span class="ident">Vertex</span>;
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">any</span>::<span class="ident">Any</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">any</span>::<span class="ident">Any</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">VertexTypes</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">VertexTypes</span>;
<span class="doccomment">/// Trait which may be inherited by objects that wish to be drawn to the screen</span>
<span class="kw">pub</span> <span class="kw">trait</span> <span class="ident">DrawableTest</span> { <span class="kw">pub</span> <span class="kw">trait</span> <span class="ident">Drawable</span> {
<span class="kw">fn</span> <span class="ident">get</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">VertexTypes</span>; <span class="kw">fn</span> <span class="ident">get</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">VertexTypes</span>;
} }
<span class="doccomment">/// Accumulator for Vectors of VertexTypes</span>
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>)]</span> <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>)]</span>
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">CanvasFrameTest</span> { <span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">CanvasFrame</span> {
<span class="kw">pub</span> <span class="ident">map</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">VertexTypes</span><span class="op">&gt;</span>, <span class="kw">pub</span> <span class="ident">map</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">VertexTypes</span><span class="op">&gt;</span>,
} }
<span class="kw">impl</span> <span class="ident">CanvasFrameTest</span> { <span class="kw">impl</span> <span class="ident">CanvasFrame</span> {
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">draw</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>, <span class="ident">drawable</span>: <span class="kw-2">&amp;</span><span class="kw">dyn</span> <span class="ident">DrawableTest</span>) {
<span class="doccomment">/// Push this drawable onto the back of the accumulator</span>
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">draw</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>, <span class="ident">drawable</span>: <span class="kw-2">&amp;</span><span class="kw">dyn</span> <span class="ident">Drawable</span>) {
<span class="self">self</span>.<span class="ident">map</span>.<span class="ident">push</span>(<span class="ident">drawable</span>.<span class="ident">get</span>()); <span class="self">self</span>.<span class="ident">map</span>.<span class="ident">push</span>(<span class="ident">drawable</span>.<span class="ident">get</span>());
} }
} }

@ -584,6 +584,8 @@
<span id="584">584</span> <span id="584">584</span>
<span id="585">585</span> <span id="585">585</span>
<span id="586">586</span> <span id="586">586</span>
<span id="587">587</span>
<span id="588">588</span>
</pre><div class="example-wrap"><pre class="rust "> </pre><div class="example-wrap"><pre class="rust ">
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">command_buffer</span>::{<span class="ident">AutoCommandBufferBuilder</span>, <span class="ident">DynamicState</span>}; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">command_buffer</span>::{<span class="ident">AutoCommandBufferBuilder</span>, <span class="ident">DynamicState</span>};
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::{<span class="ident">HashMap</span>, <span class="ident">HashSet</span>}; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::{<span class="ident">HashMap</span>, <span class="ident">HashSet</span>};
@ -605,7 +607,7 @@
<span class="kw">use</span> <span class="ident">winit</span>::<span class="ident">Window</span>; <span class="kw">use</span> <span class="ident">winit</span>::<span class="ident">Window</span>;
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">viewport</span>::<span class="ident">Viewport</span>; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">viewport</span>::<span class="ident">Viewport</span>;
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">descriptor</span>::<span class="ident">descriptor</span>::<span class="ident">DescriptorDescTy</span>::<span class="ident">TexelBuffer</span>; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">descriptor</span>::<span class="ident">descriptor</span>::<span class="ident">DescriptorDescTy</span>::<span class="ident">TexelBuffer</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">canvas_frame</span>::{<span class="ident">CanvasFrameTest</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">canvas_frame</span>::{<span class="ident">CanvasFrame</span>};
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">hash</span>::<span class="ident">Hash</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">hash</span>::<span class="ident">Hash</span>;
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">depth_stencil</span>::{<span class="ident">StencilFaceFlags</span>, <span class="ident">DynamicStencilValue</span>}; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">depth_stencil</span>::{<span class="ident">StencilFaceFlags</span>, <span class="ident">DynamicStencilValue</span>};
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">memory</span>::<span class="ident">pool</span>::<span class="ident">PotentialDedicatedAllocation</span>::<span class="ident">Generic</span>; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">memory</span>::<span class="ident">pool</span>::<span class="ident">PotentialDedicatedAllocation</span>::<span class="ident">Generic</span>;
@ -613,14 +615,15 @@
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">fs</span>::<span class="ident">File</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">fs</span>::<span class="ident">File</span>;
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">io</span>::<span class="ident">Read</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">io</span>::<span class="ident">Read</span>;
<span class="kw">use</span> <span class="ident">rusttype</span>::{<span class="ident">Font</span>, <span class="ident">PositionedGlyph</span>, <span class="ident">Scale</span>, <span class="ident">Rect</span>, <span class="ident">point</span>, <span class="ident">GlyphId</span>, <span class="ident">Line</span>, <span class="ident">Curve</span>, <span class="ident">Segment</span>}; <span class="kw">use</span> <span class="ident">rusttype</span>::{<span class="ident">Font</span>, <span class="ident">PositionedGlyph</span>, <span class="ident">Scale</span>, <span class="ident">Rect</span>, <span class="ident">point</span>, <span class="ident">GlyphId</span>, <span class="ident">Line</span>, <span class="ident">Curve</span>, <span class="ident">Segment</span>};
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::<span class="ident">VertexDefinition</span>; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::{<span class="ident">VertexDefinition</span>, <span class="ident">Vertex</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">dynamic_vertex</span>::<span class="ident">RuntimeVertexDef</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">dynamic_vertex</span>::<span class="ident">RuntimeVertexDef</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasTextureHandle</span>, <span class="ident">CanvasImageHandle</span>, <span class="ident">CanvasFontHandle</span>, <span class="ident">CompiledShaderHandle</span>, <span class="ident">Handle</span>, <span class="ident">DrawableHandle</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasTextureHandle</span>, <span class="ident">CanvasImageHandle</span>, <span class="ident">CanvasFontHandle</span>, <span class="ident">CompiledShaderHandle</span>, <span class="ident">Handle</span>, <span class="ident">DrawableHandle</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">gpu_buffers</span>::{<span class="ident">CanvasImage</span>, <span class="ident">CanvasTexture</span>, <span class="ident">CanvasFont</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">gpu_buffers</span>::{<span class="ident">CanvasImage</span>, <span class="ident">CanvasTexture</span>, <span class="ident">CanvasFont</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">shader_common</span>::<span class="ident">CompiledGraphicsPipeline</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">shader_common</span>::<span class="ident">CompiledShader</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">generic_shader</span>::<span class="ident">GenericShader</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">generic_shader</span>::<span class="ident">GenericShader</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">VertexTypes</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">VertexTypes</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">util</span>::<span class="ident">vertex</span>::{<span class="ident">TextVertex3D</span>, <span class="ident">TextureVertex2D</span>, <span class="ident">ImageVertex2D</span>, <span class="ident">ColorVertex2D</span>, <span class="ident">CanvasFrameAllocation</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">util</span>::<span class="ident">vertex</span>::{<span class="ident">TextVertex3D</span>, <span class="ident">TextureVertex3D</span>, <span class="ident">ImageVertex3D</span>, <span class="ident">ColorVertex3D</span>, <span class="ident">CanvasFrameAllocation</span>};
<span class="kw">use</span> <span class="ident">shade_runner</span>::<span class="ident">Input</span>;
<span class="doccomment">/// Canvas state is used for storage of texture and image buffers in addition to vertex buffers</span> <span class="doccomment">/// Canvas state is used for storage of texture and image buffers in addition to vertex buffers</span>
@ -632,15 +635,15 @@
<span class="doccomment">/// Generated during new()</span> <span class="doccomment">/// Generated during new()</span>
<span class="ident">sampler</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Sampler</span><span class="op">&gt;</span>, <span class="ident">sampler</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Sampler</span><span class="op">&gt;</span>,
<span class="comment">// hold the image, texture, and Fonts the same was as we do CompuState</span> <span class="doccomment">/// hold the image, texture, and Fonts the same was as we do CompuState</span>
<span class="ident">image_buffers</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasImage</span><span class="op">&gt;</span><span class="op">&gt;</span>, <span class="ident">image_buffers</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasImage</span><span class="op">&gt;</span><span class="op">&gt;</span>,
<span class="ident">texture_buffers</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasTexture</span><span class="op">&gt;</span><span class="op">&gt;</span>, <span class="ident">texture_buffers</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasTexture</span><span class="op">&gt;</span><span class="op">&gt;</span>,
<span class="ident">font_buffers</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasFont</span><span class="op">&gt;</span><span class="op">&gt;</span>, <span class="ident">font_buffers</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasFont</span><span class="op">&gt;</span><span class="op">&gt;</span>,
<span class="comment">// Compiled Graphics pipelines have a handle which self describe their position in this vector</span> <span class="doccomment">/// Compiled Graphics pipelines have a handle which self describe their position in this vector</span>
<span class="ident">shader_buffers</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Box</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">CompiledGraphicsPipeline</span><span class="op">&gt;</span><span class="op">&gt;</span><span class="op">&gt;</span>, <span class="ident">shader_buffers</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Box</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">CompiledShader</span><span class="op">&gt;</span><span class="op">&gt;</span><span class="op">&gt;</span>,
<span class="comment">// Looks like we gotta hold onto the queue for managing textures</span> <span class="doccomment">/// Looks like we gotta hold onto the queue for managing textures</span>
<span class="ident">queue</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Queue</span><span class="op">&gt;</span>, <span class="ident">queue</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Queue</span><span class="op">&gt;</span>,
<span class="ident">device</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Device</span><span class="op">&gt;</span>, <span class="ident">device</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Device</span><span class="op">&gt;</span>,
<span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>, <span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>,
@ -842,16 +845,17 @@
<span class="doccomment">/// Load and Compile a shader with the filename at resources/shaders</span> <span class="doccomment">/// Load and Compile a shader with the filename at resources/shaders</span>
<span class="doccomment">/// Takes physical and capabilities as we don&#39;t store that in Canvas</span> <span class="doccomment">/// Takes physical and capabilities as we don&#39;t store that in Canvas</span>
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">load_shader</span><span class="op">&lt;</span><span class="ident">T</span>: <span class="lifetime">&#39;static</span><span class="op">&gt;</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>, <span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">load_shader</span><span class="op">&lt;</span><span class="ident">T</span>: <span class="lifetime">&#39;static</span>, <span class="ident">V</span><span class="op">&gt;</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>,
<span class="ident">filename</span>: <span class="ident">String</span>, <span class="ident">filename</span>: <span class="ident">String</span>,
<span class="ident">physical</span>: <span class="ident">PhysicalDevice</span>, <span class="ident">physical</span>: <span class="ident">PhysicalDevice</span>,
<span class="ident">capabilities</span>: <span class="ident">Capabilities</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Option</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompiledShaderHandle</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="ident">capabilities</span>: <span class="ident">Capabilities</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Option</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompiledShaderHandle</span><span class="op">&gt;</span><span class="op">&gt;</span>
<span class="kw">where</span> <span class="ident">T</span>: <span class="ident">CompiledGraphicsPipeline</span> { <span class="kw">where</span> <span class="ident">T</span>: <span class="ident">CompiledShader</span>, <span class="ident">V</span>: <span class="ident">Vertex</span> {
<span class="kw">let</span> <span class="ident">handle</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">CompiledShaderHandle</span> { <span class="kw">let</span> <span class="ident">handle</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">CompiledShaderHandle</span> {
<span class="ident">handle</span>: <span class="self">self</span>.<span class="ident">shader_buffers</span>.<span class="ident">len</span>() <span class="kw">as</span> <span class="ident">u32</span> <span class="ident">handle</span>: <span class="self">self</span>.<span class="ident">shader_buffers</span>.<span class="ident">len</span>() <span class="kw">as</span> <span class="ident">u32</span>
}); });
<span class="kw">let</span> <span class="ident">shader</span>: <span class="ident">Box</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">CompiledGraphicsPipeline</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">Box</span>::<span class="ident">new</span>(<span class="ident">T</span>::<span class="ident">new</span>( <span class="kw">let</span> <span class="ident">shader</span>: <span class="ident">Box</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">CompiledShader</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">Box</span>::<span class="ident">new</span>(<span class="ident">T</span>::<span class="ident">new</span>::<span class="op">&lt;</span><span class="ident">V</span><span class="op">&gt;</span>(
<span class="ident">filename</span>.<span class="ident">clone</span>(), <span class="ident">filename</span>.<span class="ident">clone</span>(),
<span class="self">self</span>.<span class="ident">device</span>.<span class="ident">clone</span>(), <span class="self">self</span>.<span class="ident">device</span>.<span class="ident">clone</span>(),
<span class="ident">handle</span>.<span class="ident">clone</span>(), <span class="ident">handle</span>.<span class="ident">clone</span>(),
@ -972,12 +976,12 @@
<span class="ident">o</span> <span class="ident">o</span>
} }
<span class="doccomment">/// Consume and allocated the canvas frame data to the GPU</span> <span class="doccomment">/// Consume and allocate the canvas frame data to the GPU</span>
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">allocate</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>, <span class="ident">canvas_frame</span>: <span class="ident">CanvasFrameTest</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">CanvasFrameAllocation</span> { <span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">allocate</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>, <span class="ident">canvas_frame</span>: <span class="ident">CanvasFrame</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">CanvasFrameAllocation</span> {
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">colored_vertex_buffer</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">ColorVertex2D</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">Vec</span>::<span class="ident">default</span>(); <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">colored_vertex_buffer</span>: <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">ColorVertex3D</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">Vec</span>::<span class="ident">default</span>();
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">textured_vertex_buffer</span>: <span class="ident">HashMap</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasTextureHandle</span><span class="op">&gt;</span>, <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">TextureVertex2D</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">HashMap</span>::<span class="ident">new</span>(); <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">textured_vertex_buffer</span>: <span class="ident">HashMap</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasTextureHandle</span><span class="op">&gt;</span>, <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">TextureVertex3D</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">HashMap</span>::<span class="ident">new</span>();
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">image_vertex_buffer</span>: <span class="ident">HashMap</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasImageHandle</span><span class="op">&gt;</span>, <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">ImageVertex2D</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">HashMap</span>::<span class="ident">new</span>(); <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">image_vertex_buffer</span>: <span class="ident">HashMap</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasImageHandle</span><span class="op">&gt;</span>, <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">ImageVertex3D</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">HashMap</span>::<span class="ident">new</span>();
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">text_instances</span>: <span class="ident">HashMap</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasFontHandle</span><span class="op">&gt;</span>, <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">TextVertex3D</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">HashMap</span>::<span class="ident">new</span>(); <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">text_instances</span>: <span class="ident">HashMap</span><span class="op">&lt;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasFontHandle</span><span class="op">&gt;</span>, <span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">TextVertex3D</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">HashMap</span>::<span class="ident">new</span>();
<span class="kw">for</span> <span class="ident">value</span> <span class="kw">in</span> <span class="ident">canvas_frame</span>.<span class="ident">map</span> { <span class="kw">for</span> <span class="ident">value</span> <span class="kw">in</span> <span class="ident">canvas_frame</span>.<span class="ident">map</span> {
@ -1062,7 +1066,7 @@
<span class="comment">// This looks a little weird as colored_vertex_buffer is a vec of GPU allocated vecs.</span> <span class="comment">// This looks a little weird as colored_vertex_buffer is a vec of GPU allocated vecs.</span>
<span class="comment">// But we can pass in multiple vertex buffers</span> <span class="comment">// But we can pass in multiple vertex buffers</span>
<span class="kw">if</span> <span class="ident">allocated_buffers</span>.<span class="ident">colored_vertex_buffer</span>.<span class="ident">is_empty</span>() { <span class="kw">if</span> <span class="op">!</span><span class="ident">allocated_buffers</span>.<span class="ident">colored_vertex_buffer</span>.<span class="ident">is_empty</span>() {
<span class="ident">command_buffer</span> <span class="op">=</span> <span class="ident">command_buffer</span>.<span class="ident">draw</span>( <span class="ident">command_buffer</span> <span class="op">=</span> <span class="ident">command_buffer</span>.<span class="ident">draw</span>(
<span class="ident">shader</span>.<span class="ident">get_pipeline</span>().<span class="ident">clone</span>(), <span class="ident">shader</span>.<span class="ident">get_pipeline</span>().<span class="ident">clone</span>(),
<span class="kw-2">&amp;</span><span class="self">self</span>.<span class="ident">dynamic_state</span>.<span class="ident">clone</span>(), <span class="kw-2">&amp;</span><span class="self">self</span>.<span class="ident">dynamic_state</span>.<span class="ident">clone</span>(),
@ -1114,10 +1118,10 @@
} }
<span class="comment">// Text</span> <span class="comment">// Text</span>
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">shader</span> <span class="op">=</span> <span class="self">self</span>.<span class="ident">shader_buffers</span>.<span class="ident">get</span>( <span class="comment">// let mut shader = self.shader_buffers.get(</span>
<span class="self">self</span>.<span class="ident">get_shader_handle</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;simple_text&quot;</span>)) <span class="comment">// self.get_shader_handle(String::from(&quot;simple_text&quot;))</span>
.<span class="ident">unwrap</span>().<span class="ident">clone</span>().<span class="ident">get_handle</span>() <span class="kw">as</span> <span class="ident">usize</span> <span class="comment">// .unwrap().clone().get_handle() as usize</span>
).<span class="ident">unwrap</span>(); <span class="comment">// ).unwrap();</span>
<span class="comment">//</span> <span class="comment">//</span>
<span class="comment">// if !self.text_instances.is_empty() {</span> <span class="comment">// if !self.text_instances.is_empty() {</span>

@ -58,24 +58,18 @@
<span id="58">58</span> <span id="58">58</span>
<span id="59">59</span> <span id="59">59</span>
<span id="60">60</span> <span id="60">60</span>
<span id="61">61</span>
<span id="62">62</span>
<span id="63">63</span>
</pre><div class="example-wrap"><pre class="rust "> </pre><div class="example-wrap"><pre class="rust ">
<span class="kw">pub</span> <span class="kw">trait</span> <span class="ident">Handle</span> { <span class="kw">pub</span> <span class="kw">trait</span> <span class="ident">Handle</span> {
<span class="kw">fn</span> <span class="ident">get_handle</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">u32</span>; <span class="kw">fn</span> <span class="ident">get_handle</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">u32</span>;
} }
<span class="kw">pub</span> <span class="kw">enum</span> <span class="ident">DrawableHandle</span> { <span class="kw">pub</span> <span class="kw">enum</span> <span class="ident">DrawableHandle</span> {
<span class="ident">Texture</span>(<span class="ident">CanvasTextureHandle</span>), <span class="ident">Texture</span>(<span class="ident">CanvasTextureHandle</span>),
<span class="ident">Image</span>(<span class="ident">CanvasImageHandle</span>), <span class="ident">Image</span>(<span class="ident">CanvasImageHandle</span>),
<span class="ident">Font</span>(<span class="ident">CanvasFontHandle</span>), <span class="ident">Font</span>(<span class="ident">CanvasFontHandle</span>),
} }
<span class="doccomment">/// Typed wrapper for a u32 handle</span> <span class="doccomment">/// Typed wrapper for a u32 handle</span>
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Clone</span>, <span class="ident">Debug</span>, <span class="ident">Default</span>, <span class="ident">PartialEq</span>, <span class="ident">Eq</span>, <span class="ident">Hash</span>)]</span> <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Clone</span>, <span class="ident">Debug</span>, <span class="ident">Default</span>, <span class="ident">PartialEq</span>, <span class="ident">Eq</span>, <span class="ident">Hash</span>)]</span>
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">CanvasFontHandle</span> { <span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">CanvasFontHandle</span> {

@ -141,6 +141,8 @@
<span id="141">141</span> <span id="141">141</span>
<span id="142">142</span> <span id="142">142</span>
<span id="143">143</span> <span id="143">143</span>
<span id="144">144</span>
<span id="145">145</span>
</pre><div class="example-wrap"><pre class="rust "> </pre><div class="example-wrap"><pre class="rust ">
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">GraphicsPipelineAbstract</span>; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">GraphicsPipelineAbstract</span>;
@ -154,14 +156,15 @@
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">ffi</span>::<span class="ident">CStr</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">ffi</span>::<span class="ident">CStr</span>;
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">marker</span>::<span class="ident">PhantomData</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">marker</span>::<span class="ident">PhantomData</span>;
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">depth_stencil</span>::{<span class="ident">DepthStencil</span>, <span class="ident">Compare</span>, <span class="ident">DepthBounds</span>, <span class="ident">Stencil</span>, <span class="ident">StencilOp</span>}; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">depth_stencil</span>::{<span class="ident">DepthStencil</span>, <span class="ident">Compare</span>, <span class="ident">DepthBounds</span>, <span class="ident">Stencil</span>, <span class="ident">StencilOp</span>};
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::{<span class="ident">SingleBufferDefinition</span>, <span class="ident">VertexDefinition</span>}; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::{<span class="ident">SingleBufferDefinition</span>, <span class="ident">VertexDefinition</span>, <span class="ident">Vertex</span>};
<span class="kw">use</span> <span class="ident">shade_runner</span> <span class="kw">as</span> <span class="ident">sr</span>; <span class="kw">use</span> <span class="ident">shade_runner</span> <span class="kw">as</span> <span class="ident">sr</span>;
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">memory</span>::<span class="ident">pool</span>::<span class="ident">PotentialDedicatedAllocation</span>::<span class="ident">Generic</span>; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">memory</span>::<span class="ident">pool</span>::<span class="ident">PotentialDedicatedAllocation</span>::<span class="ident">Generic</span>;
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">SafeDeref</span>; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">SafeDeref</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">shader_common</span>::{<span class="ident">ShaderType</span>, <span class="ident">CompiledGraphicsPipelineResources</span>, <span class="ident">CompiledGraphicsPipeline</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">shader_common</span>::{<span class="ident">ShaderType</span>, <span class="ident">CompiledShaderResources</span>, <span class="ident">CompiledShader</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::<span class="ident">CompiledShaderHandle</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::<span class="ident">CompiledShaderHandle</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">dynamic_vertex</span>::<span class="ident">RuntimeVertexDef</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">dynamic_vertex</span>::<span class="ident">RuntimeVertexDef</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">ShaderSpecializationConstants</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">ShaderSpecializationConstants</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">util</span>::<span class="ident">vertex</span>::{<span class="ident">VertexTypes</span>, <span class="ident">ColorVertex3D</span>};
<span class="doccomment">/// CanvasShader holds the pipeline and render pass for the input shader source</span> <span class="doccomment">/// CanvasShader holds the pipeline and render pass for the input shader source</span>
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Clone</span>)]</span> <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Clone</span>)]</span>
@ -176,16 +179,17 @@
} }
<span class="kw">impl</span> <span class="ident">GenericShader</span> {} <span class="kw">impl</span> <span class="ident">GenericShader</span> {
}
<span class="doccomment">/// Gives CanvasShader the resource functions</span> <span class="doccomment">/// Gives CanvasShader the resource functions</span>
<span class="kw">impl</span> <span class="ident">CompiledGraphicsPipelineResources</span> <span class="kw">for</span> <span class="ident">GenericShader</span> {} <span class="kw">impl</span> <span class="ident">CompiledShaderResources</span> <span class="kw">for</span> <span class="ident">GenericShader</span> {}
<span class="doccomment">/// Convenience interface so we don&#39;t have to juggle shader types</span> <span class="doccomment">/// Convenience interface so we don&#39;t have to juggle shader types</span>
<span class="kw">impl</span> <span class="ident">CompiledGraphicsPipeline</span> <span class="kw">for</span> <span class="ident">GenericShader</span> { <span class="kw">impl</span> <span class="ident">CompiledShader</span> <span class="kw">for</span> <span class="ident">GenericShader</span> {
<span class="doccomment">/// This will explode when the shader does not want to compile</span> <span class="doccomment">/// This will explode when the shader does not want to compile</span>
<span class="kw">fn</span> <span class="ident">new</span>(<span class="ident">filename</span>: <span class="ident">String</span>, <span class="kw">fn</span> <span class="ident">new</span><span class="op">&lt;</span><span class="ident">V</span>: <span class="ident">Vertex</span><span class="op">&gt;</span>(<span class="ident">filename</span>: <span class="ident">String</span>,
<span class="ident">device</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Device</span><span class="op">&gt;</span>, <span class="ident">device</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Device</span><span class="op">&gt;</span>,
<span class="ident">handle</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompiledShaderHandle</span><span class="op">&gt;</span>, <span class="ident">handle</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompiledShaderHandle</span><span class="op">&gt;</span>,
<span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">GenericShader</span> { <span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">GenericShader</span> {
@ -226,8 +230,8 @@
<span class="ident">graphics_pipeline</span>: <span class="ident">graphics_pipeline</span>:
<span class="prelude-val">Some</span>(<span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">GraphicsPipeline</span>::<span class="ident">start</span>() <span class="prelude-val">Some</span>(<span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">GraphicsPipeline</span>::<span class="ident">start</span>()
<span class="comment">//SingleBufferDefinition::&lt;Vertex3D&gt;</span> .<span class="ident">vertex_input</span>(<span class="ident">SingleBufferDefinition</span>::<span class="op">&lt;</span><span class="ident">V</span><span class="op">&gt;</span>::<span class="ident">new</span>())
.<span class="ident">vertex_input</span>(<span class="ident">vertex_definition</span>) <span class="comment">//.vertex_input(vertex_definition)</span>
.<span class="ident">vertex_shader</span>(<span class="ident">vertex_entry_point</span>.<span class="ident">clone</span>(), <span class="ident">ShaderSpecializationConstants</span> { .<span class="ident">vertex_shader</span>(<span class="ident">vertex_entry_point</span>.<span class="ident">clone</span>(), <span class="ident">ShaderSpecializationConstants</span> {
<span class="ident">first_constant</span>: <span class="number">0</span>, <span class="ident">first_constant</span>: <span class="number">0</span>,
@ -277,8 +281,8 @@
<span class="self">self</span>.<span class="ident">renderpass</span>.<span class="ident">clone</span>() <span class="self">self</span>.<span class="ident">renderpass</span>.<span class="ident">clone</span>()
} }
<span class="kw">fn</span> <span class="ident">recompile</span>(<span class="self">self</span>, <span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">GenericShader</span> { <span class="kw">fn</span> <span class="ident">recompile</span><span class="op">&lt;</span><span class="ident">V</span>: <span class="ident">Vertex</span><span class="op">&gt;</span>(<span class="self">self</span>, <span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">GenericShader</span> {
<span class="ident">GenericShader</span>::<span class="ident">new</span>(<span class="self">self</span>.<span class="ident">name</span>, <span class="ident">GenericShader</span>::<span class="ident">new</span>::<span class="op">&lt;</span><span class="ident">V</span><span class="op">&gt;</span>(<span class="self">self</span>.<span class="ident">name</span>,
<span class="self">self</span>.<span class="ident">device</span>, <span class="self">self</span>.<span class="ident">device</span>,
<span class="self">self</span>.<span class="ident">handle</span>, <span class="self">self</span>.<span class="ident">handle</span>,
<span class="ident">render_pass</span>.<span class="ident">clone</span>()) <span class="ident">render_pass</span>.<span class="ident">clone</span>())

@ -121,6 +121,7 @@
<span id="121">121</span> <span id="121">121</span>
<span id="122">122</span> <span id="122">122</span>
<span id="123">123</span> <span id="123">123</span>
<span id="124">124</span>
</pre><div class="example-wrap"><pre class="rust "> </pre><div class="example-wrap"><pre class="rust ">
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">HashSet</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">HashSet</span>;
@ -133,6 +134,7 @@
<span class="kw">use</span> <span class="ident">shade_runner</span>::<span class="ident">Entry</span>; <span class="kw">use</span> <span class="ident">shade_runner</span>::<span class="ident">Entry</span>;
<span class="kw">use</span> <span class="ident">shaderc</span>::<span class="ident">ShaderKind</span>; <span class="kw">use</span> <span class="ident">shaderc</span>::<span class="ident">ShaderKind</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::<span class="ident">CompiledShaderHandle</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::<span class="ident">CompiledShaderHandle</span>;
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::<span class="ident">Vertex</span>;
<span class="comment">/* <span class="comment">/*
@ -152,7 +154,7 @@ This best works I think if I allow users to
<span class="doccomment">/// Inheriting this gives private functions to grab resources</span> <span class="doccomment">/// Inheriting this gives private functions to grab resources</span>
<span class="kw">pub</span> <span class="kw">trait</span> <span class="ident">CompiledGraphicsPipelineResources</span> { <span class="kw">pub</span> <span class="kw">trait</span> <span class="ident">CompiledShaderResources</span> {
<span class="kw">fn</span> <span class="ident">get_path</span>(<span class="ident">filename</span>: <span class="ident">String</span>, <span class="ident">shader_type</span>: <span class="ident">ShaderType</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">PathBuf</span> { <span class="kw">fn</span> <span class="ident">get_path</span>(<span class="ident">filename</span>: <span class="ident">String</span>, <span class="ident">shader_type</span>: <span class="ident">ShaderType</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">PathBuf</span> {
<span class="kw">let</span> <span class="ident">project_root</span> <span class="op">=</span> <span class="kw">let</span> <span class="ident">project_root</span> <span class="op">=</span>
@ -223,16 +225,16 @@ This best works I think if I allow users to
<span class="kw">pub</span> <span class="kw">trait</span> <span class="ident">CompiledGraphicsPipeline</span> { <span class="kw">pub</span> <span class="kw">trait</span> <span class="ident">CompiledShader</span> {
<span class="kw">fn</span> <span class="ident">new</span>(<span class="ident">filename</span>: <span class="ident">String</span>, <span class="kw">fn</span> <span class="ident">new</span><span class="op">&lt;</span><span class="ident">V</span><span class="op">&gt;</span>(<span class="ident">filename</span>: <span class="ident">String</span>,
<span class="ident">device</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Device</span><span class="op">&gt;</span>, <span class="ident">device</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Device</span><span class="op">&gt;</span>,
<span class="ident">handle</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompiledShaderHandle</span><span class="op">&gt;</span>, <span class="ident">handle</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompiledShaderHandle</span><span class="op">&gt;</span>,
<span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="self">Self</span> <span class="kw">where</span> <span class="self">Self</span>: <span class="ident">Sized</span>; <span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="self">Self</span> <span class="kw">where</span> <span class="self">Self</span>: <span class="ident">Sized</span>, <span class="ident">V</span>: <span class="ident">Vertex</span>,;
<span class="kw">fn</span> <span class="ident">get_name</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">String</span>; <span class="kw">fn</span> <span class="ident">get_name</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">String</span>;
<span class="kw">fn</span> <span class="ident">get_handle</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompiledShaderHandle</span><span class="op">&gt;</span>; <span class="kw">fn</span> <span class="ident">get_handle</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompiledShaderHandle</span><span class="op">&gt;</span>;
<span class="kw">fn</span> <span class="ident">get_pipeline</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">GraphicsPipelineAbstract</span> <span class="op">+</span> <span class="ident">Sync</span> <span class="op">+</span> <span class="ident">Send</span><span class="op">&gt;</span>; <span class="kw">fn</span> <span class="ident">get_pipeline</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">GraphicsPipelineAbstract</span> <span class="op">+</span> <span class="ident">Sync</span> <span class="op">+</span> <span class="ident">Send</span><span class="op">&gt;</span>;
<span class="kw">fn</span> <span class="ident">get_renderpass</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>; <span class="kw">fn</span> <span class="ident">get_renderpass</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>;
<span class="kw">fn</span> <span class="ident">recompile</span>(<span class="self">self</span>, <span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>) <span class="kw">fn</span> <span class="ident">recompile</span><span class="op">&lt;</span><span class="ident">V</span>: <span class="ident">Vertex</span><span class="op">&gt;</span>(<span class="self">self</span>, <span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>)
<span class="op">-</span><span class="op">&gt;</span> <span class="self">Self</span> <span class="kw">where</span> <span class="self">Self</span>: <span class="ident">Sized</span>; <span class="op">-</span><span class="op">&gt;</span> <span class="self">Self</span> <span class="kw">where</span> <span class="self">Self</span>: <span class="ident">Sized</span>;
} }

@ -173,12 +173,6 @@
<span id="173">173</span> <span id="173">173</span>
<span id="174">174</span> <span id="174">174</span>
<span id="175">175</span> <span id="175">175</span>
<span id="176">176</span>
<span id="177">177</span>
<span id="178">178</span>
<span id="179">179</span>
<span id="180">180</span>
<span id="181">181</span>
</pre><div class="example-wrap"><pre class="rust "> </pre><div class="example-wrap"><pre class="rust ">
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">GraphicsPipelineAbstract</span>; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">GraphicsPipelineAbstract</span>;
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">sync</span>::<span class="ident">Arc</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">sync</span>::<span class="ident">Arc</span>;
@ -191,22 +185,15 @@
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">ffi</span>::<span class="ident">CStr</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">ffi</span>::<span class="ident">CStr</span>;
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">marker</span>::<span class="ident">PhantomData</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">marker</span>::<span class="ident">PhantomData</span>;
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">depth_stencil</span>::{<span class="ident">DepthStencil</span>, <span class="ident">Compare</span>, <span class="ident">DepthBounds</span>, <span class="ident">Stencil</span>, <span class="ident">StencilOp</span>}; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">depth_stencil</span>::{<span class="ident">DepthStencil</span>, <span class="ident">Compare</span>, <span class="ident">DepthBounds</span>, <span class="ident">Stencil</span>, <span class="ident">StencilOp</span>};
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::{<span class="ident">SingleBufferDefinition</span>, <span class="ident">OneVertexOneInstanceDefinition</span>}; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::{<span class="ident">SingleBufferDefinition</span>, <span class="ident">OneVertexOneInstanceDefinition</span>, <span class="ident">Vertex</span>};
<span class="kw">use</span> <span class="ident">shade_runner</span> <span class="kw">as</span> <span class="ident">sr</span>; <span class="kw">use</span> <span class="ident">shade_runner</span> <span class="kw">as</span> <span class="ident">sr</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">shader_common</span>::{<span class="ident">ShaderType</span>, <span class="ident">CompiledGraphicsPipelineResources</span>, <span class="ident">CompiledGraphicsPipeline</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">shader_common</span>::{<span class="ident">ShaderType</span>, <span class="ident">CompiledShaderResources</span>, <span class="ident">CompiledShader</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::<span class="ident">CompiledShaderHandle</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::<span class="ident">CompiledShaderHandle</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">generic_shader</span>::<span class="ident">GenericShader</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">generic_shader</span>::<span class="ident">GenericShader</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">dynamic_vertex</span>::<span class="ident">RuntimeVertexDef</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">dynamic_vertex</span>::<span class="ident">RuntimeVertexDef</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">ShaderSpecializationConstants</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">ShaderSpecializationConstants</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">util</span>::<span class="ident">vertex</span>::<span class="ident">ColorVertex3D</span>;
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>, <span class="ident">Debug</span>, <span class="ident">Clone</span>, <span class="ident">Copy</span>)]</span>
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">GlyphInstance</span> {
<span class="kw">pub</span> <span class="ident">screen_position</span>: (<span class="ident">f32</span>, <span class="ident">f32</span>),
<span class="kw">pub</span> <span class="ident">atlas_position</span>: (<span class="ident">f32</span>, <span class="ident">f32</span>),
<span class="kw">pub</span> <span class="ident">atlas_size</span>: (<span class="ident">f32</span>, <span class="ident">f32</span>),
<span class="kw">pub</span> <span class="ident">scale</span>: <span class="ident">f32</span>,
}
<span class="ident">vulkano</span>::<span class="macro">impl_vertex</span><span class="macro">!</span>(<span class="ident">GlyphInstance</span>, <span class="ident">screen_position</span>, <span class="ident">atlas_position</span>, <span class="ident">atlas_size</span>, <span class="ident">scale</span>);
<span class="doccomment">/// CanvasShader holds the pipeline and render pass for the input shader source</span> <span class="doccomment">/// CanvasShader holds the pipeline and render pass for the input shader source</span>
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Clone</span>)]</span> <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Clone</span>)]</span>
@ -223,13 +210,13 @@
<span class="kw">impl</span> <span class="ident">TextShader</span> {} <span class="kw">impl</span> <span class="ident">TextShader</span> {}
<span class="doccomment">/// Gives CanvasShader the resource functions</span> <span class="doccomment">/// Gives CanvasShader the resource functions</span>
<span class="kw">impl</span> <span class="ident">CompiledGraphicsPipelineResources</span> <span class="kw">for</span> <span class="ident">TextShader</span> {} <span class="kw">impl</span> <span class="ident">CompiledShaderResources</span> <span class="kw">for</span> <span class="ident">TextShader</span> {}
<span class="doccomment">/// Convenience interface so we don&#39;t have to juggle shader types</span> <span class="doccomment">/// Convenience interface so we don&#39;t have to juggle shader types</span>
<span class="kw">impl</span> <span class="ident">CompiledGraphicsPipeline</span> <span class="kw">for</span> <span class="ident">TextShader</span> { <span class="kw">impl</span> <span class="ident">CompiledShader</span> <span class="kw">for</span> <span class="ident">TextShader</span> {
<span class="doccomment">/// This will explode when the shader does not want to compile</span> <span class="doccomment">/// This will explode when the shader does not want to compile</span>
<span class="kw">fn</span> <span class="ident">new</span>(<span class="ident">filename</span>: <span class="ident">String</span>, <span class="kw">fn</span> <span class="ident">new</span><span class="op">&lt;</span><span class="ident">V</span>: <span class="ident">Vertex</span><span class="op">&gt;</span>(<span class="ident">filename</span>: <span class="ident">String</span>,
<span class="ident">device</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Device</span><span class="op">&gt;</span>, <span class="ident">device</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Device</span><span class="op">&gt;</span>,
<span class="ident">handle</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompiledShaderHandle</span><span class="op">&gt;</span>, <span class="ident">handle</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompiledShaderHandle</span><span class="op">&gt;</span>,
<span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">TextShader</span> { <span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">TextShader</span> {
@ -293,8 +280,9 @@
<span class="ident">TextShader</span> { <span class="ident">TextShader</span> {
<span class="ident">graphics_pipeline</span>: <span class="ident">graphics_pipeline</span>:
<span class="prelude-val">Some</span>(<span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">GraphicsPipeline</span>::<span class="ident">start</span>() <span class="prelude-val">Some</span>(<span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">GraphicsPipeline</span>::<span class="ident">start</span>()
<span class="comment">//OneVertexOneInstanceDefinition::&lt;Vertex3D, GlyphInstance&gt;</span>
.<span class="ident">vertex_input</span>(<span class="ident">vertex_definition</span>) .<span class="ident">vertex_input</span>(<span class="ident">SingleBufferDefinition</span>::<span class="op">&lt;</span><span class="ident">V</span><span class="op">&gt;</span>::<span class="ident">new</span>())
<span class="comment">//.vertex_input(vertex_definition)</span>
.<span class="ident">vertex_shader</span>(<span class="ident">vertex_entry_point</span>.<span class="ident">clone</span>(), <span class="ident">ShaderSpecializationConstants</span> { .<span class="ident">vertex_shader</span>(<span class="ident">vertex_entry_point</span>.<span class="ident">clone</span>(), <span class="ident">ShaderSpecializationConstants</span> {
<span class="ident">first_constant</span>: <span class="number">0</span>, <span class="ident">first_constant</span>: <span class="number">0</span>,
@ -342,8 +330,8 @@
<span class="kw">fn</span> <span class="ident">get_renderpass</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span> { <span class="kw">fn</span> <span class="ident">get_renderpass</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span> {
<span class="self">self</span>.<span class="ident">renderpass</span>.<span class="ident">clone</span>() <span class="self">self</span>.<span class="ident">renderpass</span>.<span class="ident">clone</span>()
} }
<span class="kw">fn</span> <span class="ident">recompile</span>(<span class="self">self</span>, <span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">TextShader</span> { <span class="kw">fn</span> <span class="ident">recompile</span><span class="op">&lt;</span><span class="ident">V</span>: <span class="ident">Vertex</span><span class="op">&gt;</span>(<span class="self">self</span>, <span class="ident">render_pass</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">RenderPassAbstract</span> <span class="op">+</span> <span class="ident">Send</span> <span class="op">+</span> <span class="ident">Sync</span><span class="op">&gt;</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">TextShader</span> {
<span class="ident">TextShader</span>::<span class="ident">new</span>(<span class="self">self</span>.<span class="ident">name</span>, <span class="ident">TextShader</span>::<span class="ident">new</span>::<span class="op">&lt;</span><span class="ident">V</span><span class="op">&gt;</span>(<span class="self">self</span>.<span class="ident">name</span>,
<span class="self">self</span>.<span class="ident">device</span>, <span class="self">self</span>.<span class="ident">device</span>,
<span class="self">self</span>.<span class="ident">handle</span>, <span class="self">self</span>.<span class="ident">handle</span>,
<span class="self">self</span>.<span class="ident">renderpass</span>.<span class="ident">clone</span>()) <span class="self">self</span>.<span class="ident">renderpass</span>.<span class="ident">clone</span>())

@ -246,6 +246,10 @@
<span id="246">246</span> <span id="246">246</span>
<span id="247">247</span> <span id="247">247</span>
<span id="248">248</span> <span id="248">248</span>
<span id="249">249</span>
<span id="250">250</span>
<span id="251">251</span>
<span id="252">252</span>
</pre><div class="example-wrap"><pre class="rust "> </pre><div class="example-wrap"><pre class="rust ">
<span class="attribute">#![<span class="ident">allow</span>(<span class="ident">dead_code</span>)]</span> <span class="attribute">#![<span class="ident">allow</span>(<span class="ident">dead_code</span>)]</span>
<span class="attribute">#![<span class="ident">allow</span>(<span class="ident">unused_variables</span>)]</span> <span class="attribute">#![<span class="ident">allow</span>(<span class="ident">unused_variables</span>)]</span>
@ -273,11 +277,12 @@
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">instance</span>::<span class="ident">debug</span>::<span class="ident">DebugCallback</span>; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">instance</span>::<span class="ident">debug</span>::<span class="ident">DebugCallback</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">compute</span>::<span class="ident">compu_frame</span>::<span class="ident">CompuFrame</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">compute</span>::<span class="ident">compu_frame</span>::<span class="ident">CompuFrame</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">canvas_frame</span>::{<span class="ident">CanvasFrameTest</span>, <span class="ident">DrawableTest</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">canvas_frame</span>::{<span class="ident">CanvasFrame</span>, <span class="ident">Drawable</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">compute</span>::<span class="ident">managed</span>::<span class="ident">compu_sprite</span>::<span class="ident">CompuSprite</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">compute</span>::<span class="ident">managed</span>::<span class="ident">compu_sprite</span>::<span class="ident">CompuSprite</span>;
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">sync</span>::<span class="ident">Arc</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">sync</span>::<span class="ident">Arc</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasTextureHandle</span>, <span class="ident">Handle</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasTextureHandle</span>, <span class="ident">Handle</span>, <span class="ident">CanvasFontHandle</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">util</span>::<span class="ident">vertex</span>::{<span class="ident">VertexTypes</span>, <span class="ident">TextureVertex2D</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">util</span>::<span class="ident">vertex</span>::{<span class="ident">VertexTypes</span>, <span class="ident">TextureVertex3D</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">compute</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CompuBufferHandle</span>, <span class="ident">CompuKernelHandle</span>};
<span class="kw">pub</span> <span class="kw">mod</span> <span class="ident">util</span>; <span class="kw">pub</span> <span class="kw">mod</span> <span class="ident">util</span>;
@ -338,13 +343,11 @@
<span class="ident">processor</span>.<span class="ident">preload_fonts</span>(); <span class="ident">processor</span>.<span class="ident">preload_fonts</span>();
} }
<span class="kw">let</span> <span class="ident">q2</span> <span class="op">=</span> <span class="ident">hprof</span>::<span class="ident">enter</span>(<span class="string">&quot;Game Objects&quot;</span>); <span class="kw">let</span> <span class="ident">q2</span> <span class="op">=</span> <span class="ident">hprof</span>::<span class="ident">enter</span>(<span class="string">&quot;Game Objects&quot;</span>);
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">timer</span> <span class="op">=</span> <span class="ident">Timer</span>::<span class="ident">new</span>(); <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">timer</span> <span class="op">=</span> <span class="ident">Timer</span>::<span class="ident">new</span>();
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">frame_future</span> <span class="op">=</span> <span class="ident">Box</span>::<span class="ident">new</span>(<span class="ident">sync</span>::<span class="ident">now</span>(<span class="ident">processor</span>.<span class="ident">device</span>.<span class="ident">clone</span>())) <span class="kw">as</span> <span class="ident">Box</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">GpuFuture</span><span class="op">&gt;</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">frame_future</span> : <span class="ident">Box</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">GpuFuture</span><span class="op">&gt;</span> <span class="op">=</span>
<span class="ident">Box</span>::<span class="ident">new</span>(<span class="ident">sync</span>::<span class="ident">now</span>(<span class="ident">processor</span>.<span class="ident">device</span>.<span class="ident">clone</span>())) <span class="kw">as</span> <span class="ident">Box</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">GpuFuture</span><span class="op">&gt;</span>;
<span class="kw">let</span> <span class="ident">step_size</span>: <span class="ident">f32</span> <span class="op">=</span> <span class="number">0.005</span>; <span class="kw">let</span> <span class="ident">step_size</span>: <span class="ident">f32</span> <span class="op">=</span> <span class="number">0.005</span>;
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">elapsed_time</span>: <span class="ident">f32</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">elapsed_time</span>: <span class="ident">f32</span>;
@ -353,26 +356,31 @@
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">current_time</span>: <span class="ident">f32</span> <span class="op">=</span> <span class="ident">timer</span>.<span class="ident">elap_time</span>(); <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">current_time</span>: <span class="ident">f32</span> <span class="op">=</span> <span class="ident">timer</span>.<span class="ident">elap_time</span>();
<span class="kw">let</span> <span class="ident">image_data</span> <span class="op">=</span> <span class="ident">load_raw</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;funky-bird.jpg&quot;</span>)); <span class="kw">let</span> <span class="ident">image_data</span> <span class="op">=</span> <span class="ident">load_raw</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;funky-bird.jpg&quot;</span>));
<span class="kw">let</span> <span class="ident">image_dimensions_f</span> <span class="op">=</span> ((<span class="ident">image_data</span>.<span class="number">1</span>).<span class="number">0</span> <span class="kw">as</span> <span class="ident">f32</span>, (<span class="ident">image_data</span>.<span class="number">1</span>).<span class="number">1</span> <span class="kw">as</span> <span class="ident">f32</span>); <span class="kw">let</span> <span class="ident">image_dimensions_f</span> : (<span class="ident">f32</span>, <span class="ident">f32</span>) <span class="op">=</span> ((<span class="ident">image_data</span>.<span class="number">1</span>).<span class="number">0</span> <span class="kw">as</span> <span class="ident">f32</span>, (<span class="ident">image_data</span>.<span class="number">1</span>).<span class="number">1</span> <span class="kw">as</span> <span class="ident">f32</span>);
<span class="kw">let</span> <span class="ident">image_dimensions_u</span> <span class="op">=</span> <span class="ident">image_data</span>.<span class="number">1</span>; <span class="kw">let</span> <span class="ident">image_dimensions_u</span> : (<span class="ident">u32</span>, <span class="ident">u32</span>) <span class="op">=</span> <span class="ident">image_data</span>.<span class="number">1</span>;
<span class="kw">let</span> <span class="ident">compu_sprite1</span> <span class="op">=</span> <span class="ident">CompuSprite</span>::<span class="ident">new</span>((<span class="number">0.0</span>, <span class="op">-</span><span class="number">0.5</span>), (<span class="number">0.4</span>, <span class="number">0.4</span>), <span class="number">0</span>, <span class="ident">image_dimensions_f</span>, <span class="kw">let</span> <span class="ident">compu_sprite1</span> : <span class="ident">CompuSprite</span> <span class="op">=</span>
<span class="comment">// This swap image needs to match the size of the compute</span> <span class="ident">CompuSprite</span>::<span class="ident">new</span>((<span class="number">0.0</span>, <span class="op">-</span><span class="number">0.5</span>), (<span class="number">0.4</span>, <span class="number">0.4</span>), <span class="number">0</span>, <span class="ident">image_dimensions_f</span>,
<span class="comment">// Swap image to render the result to. Must match dimensions</span>
<span class="ident">processor</span>.<span class="ident">new_swap_image</span>(<span class="ident">image_dimensions_u</span>)); <span class="ident">processor</span>.<span class="ident">new_swap_image</span>(<span class="ident">image_dimensions_u</span>));
<span class="kw">let</span> <span class="ident">compute_buffer</span> <span class="op">=</span> <span class="ident">processor</span>.<span class="ident">new_compute_buffer</span>(<span class="ident">image_data</span>.<span class="number">0</span>, <span class="ident">image_data</span>.<span class="number">1</span>, <span class="number">4</span>); <span class="kw">let</span> <span class="ident">compute_buffer</span> : <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompuBufferHandle</span><span class="op">&gt;</span> <span class="op">=</span>
<span class="ident">processor</span>.<span class="ident">new_compute_buffer</span>(<span class="ident">image_data</span>.<span class="number">0</span>, <span class="ident">image_data</span>.<span class="number">1</span>, <span class="number">4</span>);
<span class="kw">let</span> <span class="ident">compute_kernel</span> <span class="op">=</span> <span class="ident">processor</span>.<span class="ident">get_kernel_handle</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;simple-edge.compute&quot;</span>)) <span class="kw">let</span> <span class="ident">compute_kernel</span> : <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CompuKernelHandle</span><span class="op">&gt;</span> <span class="op">=</span>
<span class="ident">processor</span>.<span class="ident">get_kernel_handle</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;simple-edge.compute&quot;</span>))
.<span class="ident">expect</span>(<span class="string">&quot;Can&#39;t find that kernel&quot;</span>); .<span class="ident">expect</span>(<span class="string">&quot;Can&#39;t find that kernel&quot;</span>);
<span class="kw">let</span> <span class="ident">funky_handle</span> <span class="op">=</span> <span class="ident">processor</span>.<span class="ident">get_texture_handle</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;funky-bird.jpg&quot;</span>)).<span class="ident">unwrap</span>(); <span class="comment">// Get the handles for the assets</span>
<span class="kw">let</span> <span class="ident">sfml_handle</span> <span class="op">=</span> <span class="ident">processor</span>.<span class="ident">get_texture_handle</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;sfml.png&quot;</span>)).<span class="ident">unwrap</span>(); <span class="kw">let</span> <span class="ident">funky_handle</span> : <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasTextureHandle</span><span class="op">&gt;</span> <span class="op">=</span>
<span class="kw">let</span> <span class="ident">font_handle</span> <span class="op">=</span> <span class="ident">processor</span>.<span class="ident">get_font_handle</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;sansation.ttf&quot;</span>)).<span class="ident">unwrap</span>(); <span class="ident">processor</span>.<span class="ident">get_texture_handle</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;funky-bird.jpg&quot;</span>)).<span class="ident">unwrap</span>();
<span class="kw">let</span> <span class="ident">sfml_handle</span> : <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasTextureHandle</span><span class="op">&gt;</span> <span class="op">=</span>
<span class="ident">processor</span>.<span class="ident">get_texture_handle</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;sfml.png&quot;</span>)).<span class="ident">unwrap</span>();
<span class="kw">let</span> <span class="ident">font_handle</span> : <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasFontHandle</span><span class="op">&gt;</span> <span class="op">=</span>
<span class="ident">processor</span>.<span class="ident">get_font_handle</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;sansation.ttf&quot;</span>)).<span class="ident">unwrap</span>();
<span class="kw">let</span> <span class="ident">funky_sprite</span> <span class="op">=</span> <span class="ident">Sprite</span>::<span class="ident">new</span>((<span class="number">0.0</span>, <span class="op">-</span><span class="number">0.5</span>), (<span class="number">0.5</span>, <span class="number">0.5</span>), <span class="number">0</span>, <span class="ident">funky_handle</span>.<span class="ident">clone</span>()); <span class="kw">let</span> <span class="ident">funky_sprite</span> <span class="op">=</span> <span class="ident">Sprite</span>::<span class="ident">new</span>((<span class="number">0.0</span>, <span class="op">-</span><span class="number">0.5</span>), (<span class="number">0.5</span>, <span class="number">0.5</span>), <span class="number">0</span>, <span class="ident">funky_handle</span>.<span class="ident">clone</span>());
<span class="kw">let</span> <span class="ident">sfml_sprite</span> <span class="op">=</span> <span class="ident">Sprite</span>::<span class="ident">new</span>((<span class="number">0.0</span>, <span class="op">-</span><span class="number">0.5</span>), (<span class="number">0.5</span>, <span class="number">0.5</span>), <span class="number">1</span>, <span class="ident">sfml_handle</span>.<span class="ident">clone</span>()); <span class="kw">let</span> <span class="ident">sfml_sprite</span> <span class="op">=</span> <span class="ident">Sprite</span>::<span class="ident">new</span>((<span class="number">0.0</span>, <span class="op">-</span><span class="number">0.5</span>), (<span class="number">0.5</span>, <span class="number">0.5</span>), <span class="number">1</span>, <span class="ident">sfml_handle</span>.<span class="ident">clone</span>());
<span class="comment">//let text_sprite = Text::new((-0.1,-0.1), (10.0, 10.0), font_handle.clone());</span> <span class="comment">//let text_sprite = Text::new((-0.1,-0.1), (10.0, 10.0), font_handle.clone());</span>
<span class="comment">//let test_polygon = Poly::new_with_color((-0.5, -0.5), (0.5, 0.5), 1, (1.0,0.0,0.0,0.0));</span> <span class="comment">//let test_polygon = Poly::new_with_color((-0.5, -0.5), (0.5, 0.5), 1, (1.0,0.0,0.0,0.0));</span>
<span class="ident">drop</span>(<span class="ident">q2</span>); <span class="ident">drop</span>(<span class="ident">q2</span>);
@ -435,7 +443,7 @@
<span class="kw">let</span> <span class="ident">funky_sprite</span> <span class="op">=</span> <span class="ident">Sprite</span>::<span class="ident">new</span>((<span class="number">0.0</span>, <span class="op">-</span><span class="number">0.5</span>), (<span class="number">0.5</span>, <span class="number">0.5</span>), <span class="number">0</span>, <span class="ident">funky_handle</span>.<span class="ident">clone</span>()); <span class="kw">let</span> <span class="ident">funky_sprite</span> <span class="op">=</span> <span class="ident">Sprite</span>::<span class="ident">new</span>((<span class="number">0.0</span>, <span class="op">-</span><span class="number">0.5</span>), (<span class="number">0.5</span>, <span class="number">0.5</span>), <span class="number">0</span>, <span class="ident">funky_handle</span>.<span class="ident">clone</span>());
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">canvas_frame</span> <span class="op">=</span> <span class="ident">CanvasFrameTest</span>::<span class="ident">default</span>(); <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">canvas_frame</span> <span class="op">=</span> <span class="ident">CanvasFrame</span>::<span class="ident">default</span>();
<span class="ident">canvas_frame</span>.<span class="ident">draw</span>(<span class="kw-2">&amp;</span><span class="ident">funky_sprite</span>); <span class="ident">canvas_frame</span>.<span class="ident">draw</span>(<span class="kw-2">&amp;</span><span class="ident">funky_sprite</span>);
<span class="ident">canvas_frame</span>.<span class="ident">draw</span>(<span class="kw-2">&amp;</span><span class="ident">sfml_sprite</span>); <span class="ident">canvas_frame</span>.<span class="ident">draw</span>(<span class="kw-2">&amp;</span><span class="ident">sfml_sprite</span>);

@ -42,13 +42,32 @@
<span id="42">42</span> <span id="42">42</span>
<span id="43">43</span> <span id="43">43</span>
<span id="44">44</span> <span id="44">44</span>
<span id="45">45</span>
<span id="46">46</span>
<span id="47">47</span>
<span id="48">48</span>
<span id="49">49</span>
<span id="50">50</span>
<span id="51">51</span>
<span id="52">52</span>
<span id="53">53</span>
<span id="54">54</span>
<span id="55">55</span>
<span id="56">56</span>
<span id="57">57</span>
<span id="58">58</span>
<span id="59">59</span>
<span id="60">60</span>
<span id="61">61</span>
<span id="62">62</span>
<span id="63">63</span>
<span id="64">64</span>
</pre><div class="example-wrap"><pre class="rust "> </pre><div class="example-wrap"><pre class="rust ">
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">sync</span>::<span class="ident">Arc</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">sync</span>::<span class="ident">Arc</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="kw-2">*</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasFontHandle</span>, <span class="ident">CanvasImageHandle</span>, <span class="ident">CanvasTextureHandle</span>, <span class="ident">Handle</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasFontHandle</span>, <span class="ident">CanvasImageHandle</span>, <span class="ident">CanvasTextureHandle</span>, <span class="ident">Handle</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">text_shader</span>::<span class="ident">GlyphInstance</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">canvas_frame</span>::{<span class="ident">Drawable</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">canvas_frame</span>::{<span class="ident">DrawableTest</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">util</span>::<span class="ident">vertex</span>::{<span class="ident">VertexTypes</span>, <span class="ident">TextureVertex3D</span>, <span class="ident">Vertex3D</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">util</span>::<span class="ident">vertex</span>::{<span class="ident">VertexTypes</span>, <span class="ident">TextureVertex2D</span>, <span class="ident">Vertex3D</span>};
<span class="doccomment">///</span> <span class="doccomment">///</span>
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Debug</span>, <span class="ident">Clone</span>)]</span> <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Debug</span>, <span class="ident">Clone</span>)]</span>
@ -71,14 +90,35 @@
<span class="kw">let</span> <span class="ident">normalized_depth</span> <span class="op">=</span> (<span class="ident">depth</span> <span class="kw">as</span> <span class="ident">f32</span> <span class="op">/</span> <span class="number">255.0</span>); <span class="kw">let</span> <span class="ident">normalized_depth</span> <span class="op">=</span> (<span class="ident">depth</span> <span class="kw">as</span> <span class="ident">f32</span> <span class="op">/</span> <span class="number">255.0</span>);
<span class="kw">let</span> <span class="ident">verts</span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[
<span class="ident">TextureVertex3D</span>{
<span class="ident">v_position</span>: [<span class="ident">position</span>.<span class="number">0</span>, <span class="ident">position</span>.<span class="number">1</span>, <span class="ident">normalized_depth</span>], <span class="comment">// top left</span>
<span class="ident">ti_position</span>: [<span class="op">-</span><span class="number">0.0</span>, <span class="op">-</span><span class="number">0.0</span>] },
<span class="ident">TextureVertex3D</span>{
<span class="ident">v_position</span>: [<span class="ident">position</span>.<span class="number">0</span>, <span class="ident">position</span>.<span class="number">1</span> <span class="op">+</span> <span class="ident">size</span>.<span class="number">1</span>, <span class="ident">normalized_depth</span>], <span class="comment">// bottom left</span>
<span class="ident">ti_position</span>: [<span class="op">-</span><span class="number">0.0</span>, <span class="number">1.0</span>] },
<span class="ident">TextureVertex3D</span>{
<span class="ident">v_position</span>: [<span class="ident">position</span>.<span class="number">0</span> <span class="op">+</span> <span class="ident">size</span>.<span class="number">0</span>, <span class="ident">position</span>.<span class="number">1</span> <span class="op">+</span> <span class="ident">size</span>.<span class="number">1</span>, <span class="ident">normalized_depth</span>], <span class="comment">// bottom right</span>
<span class="ident">ti_position</span>: [<span class="number">1.0</span>, <span class="number">1.0</span>] },
<span class="ident">TextureVertex3D</span>{
<span class="ident">v_position</span>: [<span class="ident">position</span>.<span class="number">0</span>, <span class="ident">position</span>.<span class="number">1</span>, <span class="ident">normalized_depth</span>], <span class="comment">// top left</span>
<span class="ident">ti_position</span>: [<span class="op">-</span><span class="number">0.0</span>, <span class="op">-</span><span class="number">0.0</span>] },
<span class="ident">TextureVertex3D</span>{
<span class="ident">v_position</span>: [<span class="ident">position</span>.<span class="number">0</span> <span class="op">+</span> <span class="ident">size</span>.<span class="number">0</span>, <span class="ident">position</span>.<span class="number">1</span> <span class="op">+</span> <span class="ident">size</span>.<span class="number">1</span>, <span class="ident">normalized_depth</span>], <span class="comment">// bottom right</span>
<span class="ident">ti_position</span>: [<span class="number">1.0</span>, <span class="number">1.0</span>] },
<span class="ident">TextureVertex3D</span>{
<span class="ident">v_position</span>: [<span class="ident">position</span>.<span class="number">0</span> <span class="op">+</span> <span class="ident">size</span>.<span class="number">0</span>, <span class="ident">position</span>.<span class="number">1</span>, <span class="ident">normalized_depth</span>], <span class="comment">// top right</span>
<span class="ident">ti_position</span>: [<span class="number">1.0</span>, <span class="op">-</span><span class="number">0.0</span>] },
];
<span class="ident">Sprite</span> { <span class="ident">Sprite</span> {
<span class="ident">verts</span>: <span class="ident">VertexTypes</span>::<span class="ident">TextureType</span>(<span class="ident">Vec</span>::<span class="ident">new</span>(), <span class="ident">texture_handle</span>), <span class="ident">verts</span>: <span class="ident">VertexTypes</span>::<span class="ident">TextureType</span>(<span class="ident">verts</span>, <span class="ident">texture_handle</span>),
<span class="ident">position</span>: <span class="ident">position</span>, <span class="ident">position</span>: <span class="ident">position</span>,
<span class="ident">size</span>: <span class="ident">size</span>, <span class="ident">size</span>: <span class="ident">size</span>,
} }
} }
} }
<span class="kw">impl</span> <span class="ident">DrawableTest</span> <span class="kw">for</span> <span class="ident">Sprite</span>{ <span class="kw">impl</span> <span class="ident">Drawable</span> <span class="kw">for</span> <span class="ident">Sprite</span>{
<span class="kw">fn</span> <span class="ident">get</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">VertexTypes</span> { <span class="kw">fn</span> <span class="ident">get</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">VertexTypes</span> {
<span class="self">self</span>.<span class="ident">verts</span>.<span class="ident">clone</span>() <span class="self">self</span>.<span class="ident">verts</span>.<span class="ident">clone</span>()
} }

@ -76,6 +76,14 @@
<span id="76">76</span> <span id="76">76</span>
<span id="77">77</span> <span id="77">77</span>
<span id="78">78</span> <span id="78">78</span>
<span id="79">79</span>
<span id="80">80</span>
<span id="81">81</span>
<span id="82">82</span>
<span id="83">83</span>
<span id="84">84</span>
<span id="85">85</span>
<span id="86">86</span>
</pre><div class="example-wrap"><pre class="rust "> </pre><div class="example-wrap"><pre class="rust ">
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasTextureHandle</span>, <span class="ident">CanvasImageHandle</span>, <span class="ident">CanvasFontHandle</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasTextureHandle</span>, <span class="ident">CanvasImageHandle</span>, <span class="ident">CanvasFontHandle</span>};
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">sync</span>::<span class="ident">Arc</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">sync</span>::<span class="ident">Arc</span>;
@ -83,25 +91,25 @@
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">HashMap</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">HashMap</span>;
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>, <span class="ident">Debug</span>, <span class="ident">Clone</span>, <span class="ident">Copy</span>)]</span> <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>, <span class="ident">Debug</span>, <span class="ident">Clone</span>, <span class="ident">Copy</span>)]</span>
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">TextureVertex2D</span> { <span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">TextureVertex3D</span> {
<span class="kw">pub</span> <span class="ident">v_position</span>: [<span class="ident">f32</span>; <span class="number">2</span>], <span class="kw">pub</span> <span class="ident">v_position</span>: [<span class="ident">f32</span>; <span class="number">3</span>],
<span class="kw">pub</span> <span class="ident">ti_position</span>: [<span class="ident">f32</span>; <span class="number">2</span>], <span class="kw">pub</span> <span class="ident">ti_position</span>: [<span class="ident">f32</span>; <span class="number">2</span>],
} }
<span class="ident">vulkano</span>::<span class="macro">impl_vertex</span><span class="macro">!</span>(<span class="ident">TextureVertex2D</span>, <span class="ident">v_position</span>, <span class="ident">ti_position</span>); <span class="ident">vulkano</span>::<span class="macro">impl_vertex</span><span class="macro">!</span>(<span class="ident">TextureVertex3D</span>, <span class="ident">v_position</span>, <span class="ident">ti_position</span>);
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>, <span class="ident">Debug</span>, <span class="ident">Clone</span>, <span class="ident">Copy</span>)]</span> <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>, <span class="ident">Debug</span>, <span class="ident">Clone</span>, <span class="ident">Copy</span>)]</span>
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">ColorVertex2D</span> { <span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">ColorVertex3D</span> {
<span class="kw">pub</span> <span class="ident">v_position</span>: [<span class="ident">f32</span>; <span class="number">2</span>], <span class="kw">pub</span> <span class="ident">v_position</span>: [<span class="ident">f32</span>; <span class="number">3</span>],
<span class="kw">pub</span> <span class="ident">color</span>: [<span class="ident">f32</span>; <span class="number">4</span>], <span class="kw">pub</span> <span class="ident">color</span>: [<span class="ident">f32</span>; <span class="number">4</span>],
} }
<span class="ident">vulkano</span>::<span class="macro">impl_vertex</span><span class="macro">!</span>(<span class="ident">ColorVertex2D</span>, <span class="ident">v_position</span>, <span class="ident">color</span>); <span class="ident">vulkano</span>::<span class="macro">impl_vertex</span><span class="macro">!</span>(<span class="ident">ColorVertex3D</span>, <span class="ident">v_position</span>, <span class="ident">color</span>);
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>, <span class="ident">Debug</span>, <span class="ident">Clone</span>, <span class="ident">Copy</span>)]</span> <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>, <span class="ident">Debug</span>, <span class="ident">Clone</span>, <span class="ident">Copy</span>)]</span>
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">ImageVertex2D</span> { <span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">ImageVertex3D</span> {
<span class="kw">pub</span> <span class="ident">v_position</span>: [<span class="ident">f32</span>; <span class="number">2</span>], <span class="kw">pub</span> <span class="ident">v_position</span>: [<span class="ident">f32</span>; <span class="number">3</span>],
<span class="kw">pub</span> <span class="ident">color</span>: [<span class="ident">f32</span>; <span class="number">4</span>], <span class="kw">pub</span> <span class="ident">ti_position</span>: [<span class="ident">f32</span>; <span class="number">2</span>],
} }
<span class="ident">vulkano</span>::<span class="macro">impl_vertex</span><span class="macro">!</span>(<span class="ident">ImageVertex2D</span>, <span class="ident">v_position</span>, <span class="ident">color</span>); <span class="ident">vulkano</span>::<span class="macro">impl_vertex</span><span class="macro">!</span>(<span class="ident">ImageVertex3D</span>, <span class="ident">v_position</span>, <span class="ident">ti_position</span>);
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>, <span class="ident">Debug</span>, <span class="ident">Clone</span>, <span class="ident">Copy</span>)]</span> <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>, <span class="ident">Debug</span>, <span class="ident">Clone</span>, <span class="ident">Copy</span>)]</span>
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">Vertex3D</span> { <span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">Vertex3D</span> {
@ -119,13 +127,21 @@
<span class="ident">vulkano</span>::<span class="macro">impl_vertex</span><span class="macro">!</span>(<span class="ident">TextVertex3D</span>, <span class="ident">position</span>); <span class="ident">vulkano</span>::<span class="macro">impl_vertex</span><span class="macro">!</span>(<span class="ident">TextVertex3D</span>, <span class="ident">position</span>);
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>, <span class="ident">Debug</span>, <span class="ident">Clone</span>, <span class="ident">Copy</span>)]</span>
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">GlyphInstance</span> {
<span class="kw">pub</span> <span class="ident">screen_position</span>: (<span class="ident">f32</span>, <span class="ident">f32</span>),
<span class="kw">pub</span> <span class="ident">atlas_position</span>: (<span class="ident">f32</span>, <span class="ident">f32</span>),
<span class="kw">pub</span> <span class="ident">atlas_size</span>: (<span class="ident">f32</span>, <span class="ident">f32</span>),
<span class="kw">pub</span> <span class="ident">scale</span>: <span class="ident">f32</span>,
}
<span class="ident">vulkano</span>::<span class="macro">impl_vertex</span><span class="macro">!</span>(<span class="ident">GlyphInstance</span>, <span class="ident">screen_position</span>, <span class="ident">atlas_position</span>, <span class="ident">atlas_size</span>, <span class="ident">scale</span>);
<span class="comment">// ==============================================================================</span> <span class="comment">// ==============================================================================</span>
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Debug</span>, <span class="ident">Clone</span>)]</span> <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Debug</span>, <span class="ident">Clone</span>)]</span>
<span class="kw">pub</span> <span class="kw">enum</span> <span class="ident">VertexTypes</span> { <span class="kw">pub</span> <span class="kw">enum</span> <span class="ident">VertexTypes</span> {
<span class="ident">TextureType</span>(<span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">TextureVertex2D</span><span class="op">&gt;</span>, <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasTextureHandle</span><span class="op">&gt;</span>), <span class="ident">TextureType</span>(<span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">TextureVertex3D</span><span class="op">&gt;</span>, <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasTextureHandle</span><span class="op">&gt;</span>),
<span class="ident">ImageType</span>(<span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">ImageVertex2D</span><span class="op">&gt;</span>, <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasImageHandle</span><span class="op">&gt;</span>), <span class="ident">ImageType</span>(<span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">ImageVertex3D</span><span class="op">&gt;</span>, <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">CanvasImageHandle</span><span class="op">&gt;</span>),
<span class="ident">ColorType</span>(<span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">ColorVertex2D</span><span class="op">&gt;</span>), <span class="ident">ColorType</span>(<span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">ColorVertex3D</span><span class="op">&gt;</span>),
<span class="ident">ThreeDType</span>(<span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">Vertex3D</span><span class="op">&gt;</span>), <span class="ident">ThreeDType</span>(<span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">Vertex3D</span><span class="op">&gt;</span>),
} }

@ -352,7 +352,7 @@
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">compute</span>::<span class="ident">compu_state</span>::<span class="ident">CompuState</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">compute</span>::<span class="ident">compu_state</span>::<span class="ident">CompuState</span>;
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">image</span>::<span class="ident">ImageUsage</span>; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">image</span>::<span class="ident">ImageUsage</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">compute</span>::<span class="ident">compu_frame</span>::<span class="ident">CompuFrame</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">compute</span>::<span class="ident">compu_frame</span>::<span class="ident">CompuFrame</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">canvas_frame</span>::{<span class="ident">CanvasFrameTest</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">canvas_frame</span>::{<span class="ident">CanvasFrame</span>};
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">time</span>::<span class="ident">Duration</span>; <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">time</span>::<span class="ident">Duration</span>;
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">depth_stencil</span>::{<span class="ident">DynamicStencilValue</span>, <span class="ident">StencilFaceFlags</span>}; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">depth_stencil</span>::{<span class="ident">DynamicStencilValue</span>, <span class="ident">StencilFaceFlags</span>};
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::{<span class="ident">OneVertexOneInstanceDefinition</span>, <span class="ident">SingleBufferDefinition</span>}; <span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::{<span class="ident">OneVertexOneInstanceDefinition</span>, <span class="ident">SingleBufferDefinition</span>};
@ -361,7 +361,7 @@
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">text_shader</span>::<span class="ident">TextShader</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">shader</span>::<span class="ident">text_shader</span>::<span class="ident">TextShader</span>;
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasTextureHandle</span>, <span class="ident">CompiledShaderHandle</span>, <span class="ident">CanvasFontHandle</span>, <span class="ident">CanvasImageHandle</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">canvas</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CanvasTextureHandle</span>, <span class="ident">CompiledShaderHandle</span>, <span class="ident">CanvasFontHandle</span>, <span class="ident">CanvasImageHandle</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">compute</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CompuKernelHandle</span>, <span class="ident">CompuBufferHandle</span>}; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">compute</span>::<span class="ident">managed</span>::<span class="ident">handles</span>::{<span class="ident">CompuKernelHandle</span>, <span class="ident">CompuBufferHandle</span>};
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">util</span>::<span class="ident">vertex</span>::<span class="ident">VertexTypes</span>; <span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">util</span>::<span class="ident">vertex</span>::{<span class="ident">VertexTypes</span>, <span class="ident">ColorVertex3D</span>, <span class="ident">TextVertex3D</span>, <span class="ident">TextureVertex3D</span>, <span class="ident">ImageVertex3D</span>};
<span class="doccomment">/// VKProcessor holds the vulkan instance information, the swapchain,</span> <span class="doccomment">/// VKProcessor holds the vulkan instance information, the swapchain,</span>
@ -509,10 +509,10 @@
<span class="doccomment">/// A hardcoded list of shaders which can be preloaded from this function</span> <span class="doccomment">/// A hardcoded list of shaders which can be preloaded from this function</span>
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">preload_shaders</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>) { <span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">preload_shaders</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>) {
<span class="self">self</span>.<span class="ident">canvas_state</span>.<span class="ident">load_shader</span>::<span class="op">&lt;</span><span class="ident">GenericShader</span><span class="op">&gt;</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;color-passthrough&quot;</span>), <span class="self">self</span>.<span class="ident">physical</span>.<span class="ident">clone</span>(), <span class="self">self</span>.<span class="ident">capabilities</span>.<span class="ident">clone</span>()); <span class="self">self</span>.<span class="ident">canvas_state</span>.<span class="ident">load_shader</span>::<span class="op">&lt;</span><span class="ident">GenericShader</span>, <span class="ident">ColorVertex3D</span><span class="op">&gt;</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;color-passthrough&quot;</span>), <span class="self">self</span>.<span class="ident">physical</span>.<span class="ident">clone</span>(), <span class="self">self</span>.<span class="ident">capabilities</span>.<span class="ident">clone</span>());
<span class="self">self</span>.<span class="ident">canvas_state</span>.<span class="ident">load_shader</span>::<span class="op">&lt;</span><span class="ident">GenericShader</span><span class="op">&gt;</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;simple_texture&quot;</span>), <span class="self">self</span>.<span class="ident">physical</span>.<span class="ident">clone</span>(), <span class="self">self</span>.<span class="ident">capabilities</span>.<span class="ident">clone</span>()); <span class="self">self</span>.<span class="ident">canvas_state</span>.<span class="ident">load_shader</span>::<span class="op">&lt;</span><span class="ident">GenericShader</span>, <span class="ident">TextureVertex3D</span><span class="op">&gt;</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;simple_texture&quot;</span>), <span class="self">self</span>.<span class="ident">physical</span>.<span class="ident">clone</span>(), <span class="self">self</span>.<span class="ident">capabilities</span>.<span class="ident">clone</span>());
<span class="self">self</span>.<span class="ident">canvas_state</span>.<span class="ident">load_shader</span>::<span class="op">&lt;</span><span class="ident">GenericShader</span><span class="op">&gt;</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;simple_image&quot;</span>), <span class="self">self</span>.<span class="ident">physical</span>.<span class="ident">clone</span>(), <span class="self">self</span>.<span class="ident">capabilities</span>.<span class="ident">clone</span>()); <span class="self">self</span>.<span class="ident">canvas_state</span>.<span class="ident">load_shader</span>::<span class="op">&lt;</span><span class="ident">GenericShader</span>, <span class="ident">ImageVertex3D</span><span class="op">&gt;</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;simple_image&quot;</span>), <span class="self">self</span>.<span class="ident">physical</span>.<span class="ident">clone</span>(), <span class="self">self</span>.<span class="ident">capabilities</span>.<span class="ident">clone</span>());
<span class="self">self</span>.<span class="ident">canvas_state</span>.<span class="ident">load_shader</span>::<span class="op">&lt;</span><span class="ident">TextShader</span><span class="op">&gt;</span>(<span class="ident">String</span>::<span class="ident">from</span>(<span class="string">&quot;simple_text&quot;</span>), <span class="self">self</span>.<span class="ident">physical</span>.<span class="ident">clone</span>(), <span class="self">self</span>.<span class="ident">capabilities</span>.<span class="ident">clone</span>()); <span class="comment">// self.canvas_state.load_shader::&lt;TextShader, TextVertex3D&gt;(String::from(&quot;simple_text&quot;), self.physical.clone(), self.capabilities.clone());</span>
} }
<span class="doccomment">/// A hardcoded list of shaders which can be proloaded from this function</span> <span class="doccomment">/// A hardcoded list of shaders which can be proloaded from this function</span>
@ -567,7 +567,7 @@
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">run</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>, <span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">run</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>,
<span class="ident">surface</span>: <span class="kw-2">&amp;</span><span class="lifetime">&#39;a</span> <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Surface</span><span class="op">&lt;</span><span class="ident">Window</span><span class="op">&gt;</span><span class="op">&gt;</span>, <span class="ident">surface</span>: <span class="kw-2">&amp;</span><span class="lifetime">&#39;a</span> <span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">Surface</span><span class="op">&lt;</span><span class="ident">Window</span><span class="op">&gt;</span><span class="op">&gt;</span>,
<span class="comment">//canvas_frame: CanvasFrame,</span> <span class="comment">//canvas_frame: CanvasFrame,</span>
<span class="ident">canvas_frame</span>: <span class="ident">CanvasFrameTest</span>, <span class="ident">canvas_frame</span>: <span class="ident">CanvasFrame</span>,
<span class="ident">compute_frame</span>: <span class="ident">CompuFrame</span>, <span class="ident">compute_frame</span>: <span class="ident">CompuFrame</span>,
) { ) {

Loading…
Cancel
Save