<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `canvas_frame` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, canvas_frame"><title>sfml_rust::canvas::canvas_frame - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module canvas_frame</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a></p><script>window.sidebarCurrent={name:'canvas_frame',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#1-126'title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a>::<wbr><aclass="mod"href=''>canvas_frame</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.CanvasFrame.html"title='sfml_rust::canvas::canvas_frame::CanvasFrame struct'>CanvasFrame</a></td><tdclass='docblock-short'><p>I dont know why this isnt working
fqowiejf</p>
</td></tr><trclass='module-item'><td><aclass="struct"href="struct.GenericCanvasFrame.html"title='sfml_rust::canvas::canvas_frame::GenericCanvasFrame struct'>GenericCanvasFrame</a></td><tdclass='docblock-short'></td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `canvas_frame` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, canvas_frame"><title>sfml_rust::canvas::canvas_frame - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module canvas_frame</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li><li><ahref="#traits">Traits</a></li></ul></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a></p><script>window.sidebarCurrent={name:'canvas_frame',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#1-30'title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a>::<wbr><aclass="mod"href=''>canvas_frame</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="trait"href="trait.DrawableTest.html"title='sfml_rust::canvas::canvas_frame::DrawableTest trait'>DrawableTest</a></td><tdclass='docblock-short'></td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `CanvasFrameTest` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, CanvasFrameTest"><title>sfml_rust::canvas::canvas_frame::CanvasFrameTest - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct CanvasFrameTest</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#fields">Fields</a><divclass="sidebar-links"><ahref="#structfield.map">map</a></div><aclass="sidebar-title"href="#methods">Methods</a><divclass="sidebar-links"><ahref="#method.draw">draw</a></div><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Default">Default</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a>::<wbr><ahref='index.html'>canvas_frame</a></p><script>window.sidebarCurrent={name:'CanvasFrameTest',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#22-24'title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a>::<wbr><ahref='index.html'>canvas_frame</a>::<wbr><aclass="struct"href=''>CanvasFrameTest</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct CanvasFrameTest {
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html"title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html"title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html"title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html"title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html"title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-Into%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></code><ahref='#impl-Into%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.into'class="method hidden"><codeid='into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into'class='fnname'>into</a>(self) -> U</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-From%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for T</code><ahref='#impl-From%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.from'class="method hidden"><codeid='from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from'class='fnname'>from</a>(t: T) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryFrom%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></code><ahref='#impl-TryFrom%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error'class="type"><codeid='Error.t'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error'class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_from'class="method hidden"><codeid='try_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from'class='fnname'>try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryInto%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><ahref='#impl-TryInto%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error-1'class="type"><codeid='Error.t-1'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error'class="type">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_into'class="method hidden"><codeid='try_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into'class='fnname'>try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-BorrowMut%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-BorrowMut%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow_mut'class="method hidden"><codeid='borrow_mut.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut'class='fnname'>borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3id='impl-Borrow%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Borrow%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow'class="method hidden"><codeid='borrow.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow'class='fnname'>borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3id='impl-Any'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Any'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.type_id'class="method hidden"><codeid='type_id.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id'class='fnname'>type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3id='impl-SetParameter'class='impl'><codeclass='in-band'>impl<T> SetParameter for T</code><ahref='#impl-SetParameter'class='anchor'></a></h3><divclass='impl-items'><h4id='method.set'class="method hidden"><codeid='set.v'>fn <ahref='#method.set'class='fnname'>set</a><T>(&mut self, value: T) -><T as Parameter<Self>>::Result <spanclass="where fmt-newline">where<br> T: Parameter<Self>, </span></code></h4><divclass='docblock hidden'><p>Sets <code>value</code> as a parameter of <code>self</code>.</p>
</div></div><h3id='impl-Same%3CT%3E'class='impl'><codeclass='in-band'>impl<T> Same<T> for T</code><ahref='#impl-Same%3CT%3E'class='anchor'></a></h3><divclass='impl-items'><h4id='associatedtype.Output'class="type"><codeid='Output.t'>type <ahref='#associatedtype.Output'class="type">Output</a> = T</code></h4><divclass='docblock'><p>Should always be <code>Self</code></p>
</div></div><h3id='impl-SupersetOf%3CSS%3E'class='impl'><codeclass='in-band'>impl<SS, SP> SupersetOf<SS> for SP <spanclass="where fmt-newline">where<br> SS: SubsetOf<SP>, </span></code><ahref='#impl-SupersetOf%3CSS%3E'class='anchor'></a></h3><divclass='impl-items'><h4id='method.to_subset'class="method hidden"><codeid='to_subset.v'>fn <ahref='#method.to_subset'class='fnname'>to_subset</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><SS></code></h4><divclass='docblock hidden'><p>The inverse inclusion map: attempts to construct <code>self</code> from the equivalent element of its superset. <ahref="#method.to_subset">Read more</a></p>
</div><h4id='method.is_in_subset'class="method hidden"><codeid='is_in_subset.v'>fn <ahref='#method.is_in_subset'class='fnname'>is_in_subset</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></h4><divclass='docblock hidden'><p>Checks if <code>self</code> is actually part of its subset <code>T</code> (and can be converted to it).</p>
</div><h4id='method.to_subset_unchecked'class="method hidden"><codeid='to_subset_unchecked.v'>unsafe fn <ahref='#method.to_subset_unchecked'class='fnname'>to_subset_unchecked</a>(&self) -> SS</code></h4><divclass='docblock hidden'><p>Use with care! Same as <code>self.to_subset</code> but without any property checks. Always succeeds.</p>
</div><h4id='method.from_subset'class="method hidden"><codeid='from_subset.v'>fn <ahref='#method.from_subset'class='fnname'>from_subset</a>(element: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>SS) -> SP</code></h4><divclass='docblock hidden'><p>The inclusion map: converts <code>self</code> to the equivalent element of its superset.</p>
</div></div><h3id='impl-Content'class='impl'><codeclass='in-band'>impl<T> Content for T</code><ahref='#impl-Content'class='anchor'></a></h3><divclass='impl-items'><h4id='method.ref_from_ptr'class="method hidden"><codeid='ref_from_ptr.v'>fn <ahref='#method.ref_from_ptr'class='fnname'>ref_from_ptr</a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><aclass="enum"href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html"title="enum core::ffi::c_void">c_void</a>, size: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut T</a>></code></h4><divclass='docblock hidden'><p>Builds a pointer to this type from a raw pointer.</p>
</div><h4id='method.is_size_suitable'class="method hidden"><codeid='is_size_suitable.v'>fn <ahref='#method.is_size_suitable'class='fnname'>is_size_suitable</a>(size: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></h4><divclass='docblock hidden'><p>Returns true if the size is suitable to store a type like this.</p>
</div><h4id='method.indiv_size'class="method hidden"><codeid='indiv_size.v'>fn <ahref='#method.indiv_size'class='fnname'>indiv_size</a>() -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code></h4><divclass='docblock hidden'><p>Returns the size of an individual element.</p>
</div></div><h3id='impl-Erased'class='impl'><codeclass='in-band'>impl<T> Erased for T</code><ahref='#impl-Erased'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-SafeBorrow%3CT%3E'class='impl'><codeclass='in-band'>impl<T> SafeBorrow<T> for T</code><ahref='#impl-SafeBorrow%3CT%3E'class='anchor'></a></h3><divclass='impl-items'></div></div></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `DrawableTest` trait in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, DrawableTest"><title>sfml_rust::canvas::canvas_frame::DrawableTest - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Trait DrawableTest</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#required-methods">Required Methods</a><divclass="sidebar-links"><ahref="#tymethod.get">get</a></div><aclass="sidebar-title"href="#implementors">Implementors</a></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a>::<wbr><ahref='index.html'>canvas_frame</a></p><script>window.sidebarCurrent={name:'DrawableTest',ty:'trait',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/canvas/canvas_frame.rs.html#17-19'title='goto source code'>[src]</a></span><spanclass='in-band'>Trait <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a>::<wbr><ahref='index.html'>canvas_frame</a>::<wbr><aclass="trait"href=''>DrawableTest</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust trait'>pub trait DrawableTest {
</script></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `canvas_state` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, canvas_state"><title>sfml_rust::canvas::canvas_state - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module canvas_state</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li><li><ahref="#traits">Traits</a></li></ul></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a></p><script>window.sidebarCurrent={name:'canvas_state',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/canvas/canvas_state.rs.html#1-623' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a>::<wbr><aclass="mod"href=''>canvas_state</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `canvas_state` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, canvas_state"><title>sfml_rust::canvas::canvas_state - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module canvas_state</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a></p><script>window.sidebarCurrent={name:'canvas_state',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/canvas/canvas_state.rs.html#1-556' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a>::<wbr><aclass="mod"href=''>canvas_state</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.CanvasState.html"title='sfml_rust::canvas::canvas_state::CanvasState struct'>CanvasState</a></td><tdclass='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>
<table><trclass='module-item'><td><aclass="trait"href="trait.Drawable.html"title='sfml_rust::canvas::canvas_state::Drawable trait'>Drawable</a></td><tdclass='docblock-short'><p>A drawable object can be passed into a CanvasFrame to be rendered
Very generic implementation. (N % 2 == 0) vertices, ditto for texture coords, and rgba color
Provides Image and Texture handles for drawing</p>
</td></tr><trclass='module-item'><td><aclass="trait"href="trait.DrawableTest.html"title='sfml_rust::canvas::canvas_state::DrawableTest trait'>DrawableTest</a></td><tdclass='docblock-short'></td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
</td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
initSidebarItems({"struct":[["CanvasState","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"]],"trait":[["Drawable","A drawable object can be passed into a CanvasFrame to be rendered Very generic implementation. (N % 2 == 0) vertices, ditto for texture coords, and rgba color Provides Image and Texture handles for drawing"],["DrawableTest",""]]});
initSidebarItems({"struct":[["CanvasState","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"]]});
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `DrawableTest` trait in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, DrawableTest"><title>sfml_rust::canvas::canvas_state::DrawableTest - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Trait DrawableTest</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#required-methods">Required Methods</a><divclass="sidebar-links"><ahref="#tymethod.get_handle">get_handle</a><ahref="#tymethod.get_instances">get_instances</a><ahref="#tymethod.get_vertices">get_vertices</a></div><aclass="sidebar-title"href="#implementors">Implementors</a></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a>::<wbr><ahref='index.html'>canvas_state</a></p><script>window.sidebarCurrent={name:'DrawableTest',ty:'trait',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/canvas/canvas_state.rs.html#39-43'title='goto source code'>[src]</a></span><spanclass='in-band'>Trait <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>canvas</a>::<wbr><ahref='index.html'>canvas_state</a>::<wbr><aclass="trait"href=''>DrawableTest</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust trait'>pub trait DrawableTest<V, H, In> {
</script></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `canvas_text` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, canvas_text"><title>sfml_rust::canvas::managed::canvas_text - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module canvas_text</p><divclass="sidebar-elems"><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a></p><script>window.sidebarCurrent={name:'canvas_text',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/canvas_text.rs.html#1-13' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><aclass="mod"href=''>canvas_text</a></span></h1></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../../aliases.js"></script><scriptsrc="../../../../main.js"></script><scriptdefersrc="../../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `canvas_text` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, canvas_text"><title>sfml_rust::canvas::managed::canvas_text - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module canvas_text</p><divclass="sidebar-elems"><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a></p><script>window.sidebarCurrent={name:'canvas_text',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/canvas_text.rs.html#1-12' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><aclass="mod"href=''>canvas_text</a></span></h1></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../../aliases.js"></script><scriptsrc="../../../../main.js"></script><scriptdefersrc="../../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `handles` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, handles"><title>sfml_rust::canvas::managed::handles - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module handles</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li><li><ahref="#traits">Traits</a></li></ul></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a></p><script>window.sidebarCurrent={name:'handles',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#2-64' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><aclass="mod"href=''>handles</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `handles` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, handles"><title>sfml_rust::canvas::managed::handles - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module handles</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li><li><ahref="#enums">Enums</a></li><li><ahref="#traits">Traits</a></li></ul></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a></p><script>window.sidebarCurrent={name:'handles',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#2-61' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><aclass="mod"href=''>handles</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.CanvasFontHandle.html"title='sfml_rust::canvas::managed::handles::CanvasFontHandle struct'>CanvasFontHandle</a></td><tdclass='docblock-short'><p>Typed wrapper for a u32 handle</p>
</td></tr><trclass='module-item'><td><aclass="struct"href="struct.CanvasImageHandle.html"title='sfml_rust::canvas::managed::handles::CanvasImageHandle struct'>CanvasImageHandle</a></td><tdclass='docblock-short'><p>Typed wrapper for a u32 handle</p>
</td></tr><trclass='module-item'><td><aclass="struct"href="struct.CanvasShaderHandle.html"title='sfml_rust::canvas::managed::handles::CanvasShaderHandle struct'>CanvasShaderHandle</a></td><tdclass='docblock-short'><p>Typed wrapper for a u32 handle</p>
</td></tr><trclass='module-item'><td><aclass="struct"href="struct.CanvasTextureHandle.html"title='sfml_rust::canvas::managed::handles::CanvasTextureHandle struct'>CanvasTextureHandle</a></td><tdclass='docblock-short'><p>Typed wrapper for a u32 handle</p>
</td></tr><trclass='module-item'><td><aclass="struct"href="struct.CompiledGraphicsPipelineHandle.html"title='sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle struct'>CompiledGraphicsPipelineHandle</a></td><tdclass='docblock-short'><p>Typed wrapper for a u32 handle</p>
</td></tr><trclass='module-item'><td><aclass="struct"href="struct.CompiledShaderHandle.html"title='sfml_rust::canvas::managed::handles::CompiledShaderHandle struct'>CompiledShaderHandle</a></td><tdclass='docblock-short'><p>Typed wrapper for a u32 handle</p>
<table><trclass='module-item'><td><aclass="trait"href="trait.Handle.html"title='sfml_rust::canvas::managed::handles::Handle trait'>Handle</a></td><tdclass='docblock-short'></td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../../aliases.js"></script><scriptsrc="../../../../main.js"></script><scriptdefersrc="../../../../search-index.js"></script></body></html>
initSidebarItems({"struct":[["CanvasFontHandle","Typed wrapper for a u32 handle"],["CanvasImageHandle","Typed wrapper for a u32 handle"],["CanvasShaderHandle","Typed wrapper for a u32 handle"],["CanvasTextureHandle","Typed wrapper for a u32 handle"],["CompiledGraphicsPipelineHandle","Typed wrapper for a u32 handle"]],"trait":[["Handle",""]]});
initSidebarItems({"enum":[["DrawableHandle",""]],"struct":[["CanvasFontHandle","Typed wrapper for a u32 handle"],["CanvasImageHandle","Typed wrapper for a u32 handle"],["CanvasTextureHandle","Typed wrapper for a u32 handle"],["CompiledShaderHandle","Typed wrapper for a u32 handle"]],"trait":[["Handle",""]]});
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `CanvasFontHandle` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, CanvasFontHandle"><title>sfml_rust::canvas::managed::handles::CanvasFontHandle - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct CanvasFontHandle</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Eq">Eq</a><ahref="#impl-Handle">Handle</a><ahref="#impl-Hash">Hash</a><ahref="#impl-PartialEq%3CCanvasFontHandle%3E">PartialEq<CanvasFontHandle></a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a></p><script>window.sidebarCurrent={name:'CanvasFontHandle',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#8-10' title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a>::<wbr><aclass="struct"href=''>CanvasFontHandle</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct CanvasFontHandle { /* fields omitted */ }</pre></div><divclass='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Handle'class='impl'><codeclass='in-band'>impl <aclass="trait"href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html"title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Handle'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#12-16' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.get_handle'class="method hidden"><codeid='get_handle.v'>fn <ahref='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle'class='fnname'>get_handle</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#13-15' title='goto source code'>[src]</a></h4></div><h3id='impl-Eq'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Eq'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7' title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `CanvasFontHandle` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, CanvasFontHandle"><title>sfml_rust::canvas::managed::handles::CanvasFontHandle - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct CanvasFontHandle</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Eq">Eq</a><ahref="#impl-Handle">Handle</a><ahref="#impl-Hash">Hash</a><ahref="#impl-PartialEq%3CCanvasFontHandle%3E">PartialEq<CanvasFontHandle></a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a></p><script>window.sidebarCurrent={name:'CanvasFontHandle',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#17-19' title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a>::<wbr><aclass="struct"href=''>CanvasFontHandle</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct CanvasFontHandle { /* fields omitted */ }</pre></div><divclass='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Handle'class='impl'><codeclass='in-band'>impl <aclass="trait"href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html"title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Handle'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#21-25' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.get_handle'class="method hidden"><codeid='get_handle.v'>fn <ahref='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle'class='fnname'>get_handle</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#22-24' title='goto source code'>[src]</a></h4></div><h3id='impl-Eq'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Eq'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method hidden"><codeid='clone_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3id='impl-PartialEq%3CCanvasFontHandle%3E'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-PartialEq%3CCanvasFontHandle%3E'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Hash'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.hash'class="method hidden"><codeid='hash.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><__H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>__H)</code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div></div><h3id='impl-PartialEq%3CCanvasFontHandle%3E'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-PartialEq%3CCanvasFontHandle%3E'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Hash'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.hash'class="method hidden"><codeid='hash.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><__H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>__H)</code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4id='method.hash_slice'class="method hidden"><codeid='hash_slice.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice'class='fnname'>hash_slice</a><H>(data: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></code><spanclass='since'title='Stable since Rust version 1.3.0'>1.3.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#7' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#16' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4id='method.to_owned'class="method hidden"><codeid='to_owned.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned'class='fnname'>to_owned</a>(&self) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4id='method.clone_into'class="method hidden"><codeid='clone_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into'class='fnname'>clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><details><summary><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `CanvasImageHandle` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, CanvasImageHandle"><title>sfml_rust::canvas::managed::handles::CanvasImageHandle - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct CanvasImageHandle</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Eq">Eq</a><ahref="#impl-Handle">Handle</a><ahref="#impl-Hash">Hash</a><ahref="#impl-PartialEq%3CCanvasImageHandle%3E">PartialEq<CanvasImageHandle></a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a></p><script>window.sidebarCurrent={name:'CanvasImageHandle',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#32-34' title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a>::<wbr><aclass="struct"href=''>CanvasImageHandle</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct CanvasImageHandle { /* fields omitted */ }</pre></div><divclass='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Handle'class='impl'><codeclass='in-band'>impl <aclass="trait"href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html"title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Handle'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#36-40' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.get_handle'class="method hidden"><codeid='get_handle.v'>fn <ahref='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle'class='fnname'>get_handle</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#37-39' title='goto source code'>[src]</a></h4></div><h3id='impl-Eq'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Eq'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31' title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `CanvasImageHandle` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, CanvasImageHandle"><title>sfml_rust::canvas::managed::handles::CanvasImageHandle - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct CanvasImageHandle</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Eq">Eq</a><ahref="#impl-Handle">Handle</a><ahref="#impl-Hash">Hash</a><ahref="#impl-PartialEq%3CCanvasImageHandle%3E">PartialEq<CanvasImageHandle></a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a></p><script>window.sidebarCurrent={name:'CanvasImageHandle',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#41-43' title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a>::<wbr><aclass="struct"href=''>CanvasImageHandle</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct CanvasImageHandle { /* fields omitted */ }</pre></div><divclass='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Handle'class='impl'><codeclass='in-band'>impl <aclass="trait"href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html"title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Handle'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#45-49' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.get_handle'class="method hidden"><codeid='get_handle.v'>fn <ahref='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle'class='fnname'>get_handle</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#46-48' title='goto source code'>[src]</a></h4></div><h3id='impl-Eq'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Eq'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method hidden"><codeid='clone_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3id='impl-PartialEq%3CCanvasImageHandle%3E'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-PartialEq%3CCanvasImageHandle%3E'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Hash'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.hash'class="method hidden"><codeid='hash.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><__H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>__H)</code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div></div><h3id='impl-PartialEq%3CCanvasImageHandle%3E'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-PartialEq%3CCanvasImageHandle%3E'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Hash'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.hash'class="method hidden"><codeid='hash.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><__H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>__H)</code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4id='method.hash_slice'class="method hidden"><codeid='hash_slice.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice'class='fnname'>hash_slice</a><H>(data: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></code><spanclass='since'title='Stable since Rust version 1.3.0'>1.3.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#31' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#40' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4id='method.to_owned'class="method hidden"><codeid='to_owned.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned'class='fnname'>to_owned</a>(&self) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4id='method.clone_into'class="method hidden"><codeid='clone_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into'class='fnname'>clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><details><summary><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `CanvasTextureHandle` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, CanvasTextureHandle"><title>sfml_rust::canvas::managed::handles::CanvasTextureHandle - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct CanvasTextureHandle</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Eq">Eq</a><ahref="#impl-Handle">Handle</a><ahref="#impl-Hash">Hash</a><ahref="#impl-PartialEq%3CCanvasTextureHandle%3E">PartialEq<CanvasTextureHandle></a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a></p><script>window.sidebarCurrent={name:'CanvasTextureHandle',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#20-22'title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a>::<wbr><aclass="struct"href=''>CanvasTextureHandle</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct CanvasTextureHandle { /* fields omitted */ }</pre></div><divclass='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Handle'class='impl'><codeclass='in-band'>impl <aclass="trait"href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html"title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Handle'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#24-28'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.get_handle'class="method hidden"><codeid='get_handle.v'>fn <ahref='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle'class='fnname'>get_handle</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#25-27'title='goto source code'>[src]</a></h4></div><h3id='impl-Eq'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Eq'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19'title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `CanvasTextureHandle` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, CanvasTextureHandle"><title>sfml_rust::canvas::managed::handles::CanvasTextureHandle - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct CanvasTextureHandle</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#fields">Fields</a><divclass="sidebar-links"><ahref="#structfield.handle">handle</a></div><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Eq">Eq</a><ahref="#impl-Handle">Handle</a><ahref="#impl-Hash">Hash</a><ahref="#impl-PartialEq%3CCanvasTextureHandle%3E">PartialEq<CanvasTextureHandle></a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a></p><script>window.sidebarCurrent={name:'CanvasTextureHandle',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#29-31'title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a>::<wbr><aclass="struct"href=''>CanvasTextureHandle</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct CanvasTextureHandle {
Fields<ahref='#fields'class='anchor'></a></h2><spanid="structfield.handle"class="structfield small-section-header"><ahref="#structfield.handle"class="anchor field"></a><codeid="handle.v">handle: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Handle'class='impl'><codeclass='in-band'>impl <aclass="trait"href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html"title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Handle'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#33-37'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.get_handle'class="method hidden"><codeid='get_handle.v'>fn <ahref='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle'class='fnname'>get_handle</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#34-36'title='goto source code'>[src]</a></h4></div><h3id='impl-Eq'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Eq'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28'title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method hidden"><codeid='clone_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3id='impl-PartialEq%3CCanvasTextureHandle%3E'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-PartialEq%3CCanvasTextureHandle%3E'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Hash'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.hash'class="method hidden"><codeid='hash.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><__H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>__H)</code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div></div><h3id='impl-PartialEq%3CCanvasTextureHandle%3E'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-PartialEq%3CCanvasTextureHandle%3E'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Hash'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.hash'class="method hidden"><codeid='hash.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><__H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>__H)</code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4id='method.hash_slice'class="method hidden"><codeid='hash_slice.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice'class='fnname'>hash_slice</a><H>(data: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></code><spanclass='since'title='Stable since Rust version 1.3.0'>1.3.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#19' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#28' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4id='method.to_owned'class="method hidden"><codeid='to_owned.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned'class='fnname'>to_owned</a>(&self) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4id='method.clone_into'class="method hidden"><codeid='clone_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into'class='fnname'>clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><details><summary><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `CompiledGraphicsPipelineHandle` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, CompiledGraphicsPipelineHandle"><title>sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct CompiledGraphicsPipelineHandle</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Eq">Eq</a><ahref="#impl-Handle">Handle</a><ahref="#impl-Hash">Hash</a><ahref="#impl-PartialEq%3CCompiledGraphicsPipelineHandle%3E">PartialEq<CompiledGraphicsPipelineHandle></a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a></p><script>window.sidebarCurrent={name:'CompiledGraphicsPipelineHandle',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#56-58'title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a>::<wbr><aclass="struct"href=''>CompiledGraphicsPipelineHandle</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct CompiledGraphicsPipelineHandle { /* fields omitted */ }</pre></div><divclass='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Handle'class='impl'><codeclass='in-band'>impl <aclass="trait"href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html"title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-Handle'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#60-64'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.get_handle'class="method hidden"><codeid='get_handle.v'>fn <ahref='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle'class='fnname'>get_handle</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#61-63'title='goto source code'>[src]</a></h4></div><h3id='impl-Eq'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-Eq'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55'title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method hidden"><codeid='clone_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3id='impl-PartialEq%3CCompiledGraphicsPipelineHandle%3E'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a>> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-PartialEq%3CCompiledGraphicsPipelineHandle%3E'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-Hash'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.hash'class="method hidden"><codeid='hash.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><__H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>__H)</code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4id='method.hash_slice'class="method hidden"><codeid='hash_slice.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice'class='fnname'>hash_slice</a><H>(data: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></code><spanclass='since'title='Stable since Rust version 1.3.0'>1.3.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#55'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html"title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4id='method.to_owned'class="method hidden"><codeid='to_owned.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned'class='fnname'>to_owned</a>(&self) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4id='method.clone_into'class="method hidden"><codeid='clone_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into'class='fnname'>clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><details><summary><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><divclass='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3id='impl-Into%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></code><ahref='#impl-Into%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.into'class="method hidden"><codeid='into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into'class='fnname'>into</a>(self) -> U</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-From%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for T</code><ahref='#impl-From%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.from'class="method hidden"><codeid='from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from'class='fnname'>from</a>(t: T) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryFrom%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></code><ahref='#impl-TryFrom%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error'class="type"><codeid='Error.t'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error'class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_from'class="method hidden"><codeid='try_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from'class='fnname'>try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryInto%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><ahref='#impl-TryInto%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error-1'class="type"><codeid='Error.t-1'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error'class="type">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_into'class="method hidden"><codeid='try_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into'class='fnname'>try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-BorrowMut%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-BorrowMut%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow_mut'class="method hidden"><codeid='borrow_mut.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut'class='fnname'>borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3id='impl-Borrow%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Borrow%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow'class="method hidden"><codeid='borrow.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow'class='fnname'>borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3id='impl-Any'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Any'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.type_id'class="method hidden"><codeid='type_id.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id'class='fnname'>type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3id='impl-SetParameter'class='impl'><codeclass='in-band'>impl<T> SetParameter for T</code><ahref='#impl-SetParameter'class='anchor'></a></h3><divclass='impl-items'><h4id='method.set'class="method hidden"><codeid='set.v'>fn <ahref='#method.set'class='fnname'>set</a><T>(&mut self, value: T) -><T as Parameter<Self>>::Result <spanclass="where fmt-newline">where<br> T: Parameter<Self>, </span></code></h4><divclass='docblock hidden'><p>Sets <code>value</code> as a parameter of <code>self</code>.</p>
</div></div><h3id='impl-Same%3CT%3E'class='impl'><codeclass='in-band'>impl<T> Same<T> for T</code><ahref='#impl-Same%3CT%3E'class='anchor'></a></h3><divclass='impl-items'><h4id='associatedtype.Output'class="type"><codeid='Output.t'>type <ahref='#associatedtype.Output'class="type">Output</a> = T</code></h4><divclass='docblock'><p>Should always be <code>Self</code></p>
</div></div><h3id='impl-SupersetOf%3CSS%3E'class='impl'><codeclass='in-band'>impl<SS, SP> SupersetOf<SS> for SP <spanclass="where fmt-newline">where<br> SS: SubsetOf<SP>, </span></code><ahref='#impl-SupersetOf%3CSS%3E'class='anchor'></a></h3><divclass='impl-items'><h4id='method.to_subset'class="method hidden"><codeid='to_subset.v'>fn <ahref='#method.to_subset'class='fnname'>to_subset</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><SS></code></h4><divclass='docblock hidden'><p>The inverse inclusion map: attempts to construct <code>self</code> from the equivalent element of its superset. <ahref="#method.to_subset">Read more</a></p>
</div><h4id='method.is_in_subset'class="method hidden"><codeid='is_in_subset.v'>fn <ahref='#method.is_in_subset'class='fnname'>is_in_subset</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></h4><divclass='docblock hidden'><p>Checks if <code>self</code> is actually part of its subset <code>T</code> (and can be converted to it).</p>
</div><h4id='method.to_subset_unchecked'class="method hidden"><codeid='to_subset_unchecked.v'>unsafe fn <ahref='#method.to_subset_unchecked'class='fnname'>to_subset_unchecked</a>(&self) -> SS</code></h4><divclass='docblock hidden'><p>Use with care! Same as <code>self.to_subset</code> but without any property checks. Always succeeds.</p>
</div><h4id='method.from_subset'class="method hidden"><codeid='from_subset.v'>fn <ahref='#method.from_subset'class='fnname'>from_subset</a>(element: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>SS) -> SP</code></h4><divclass='docblock hidden'><p>The inclusion map: converts <code>self</code> to the equivalent element of its superset.</p>
</div></div><h3id='impl-Content'class='impl'><codeclass='in-band'>impl<T> Content for T</code><ahref='#impl-Content'class='anchor'></a></h3><divclass='impl-items'><h4id='method.ref_from_ptr'class="method hidden"><codeid='ref_from_ptr.v'>fn <ahref='#method.ref_from_ptr'class='fnname'>ref_from_ptr</a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><aclass="enum"href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html"title="enum core::ffi::c_void">c_void</a>, size: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut T</a>></code></h4><divclass='docblock hidden'><p>Builds a pointer to this type from a raw pointer.</p>
</div><h4id='method.is_size_suitable'class="method hidden"><codeid='is_size_suitable.v'>fn <ahref='#method.is_size_suitable'class='fnname'>is_size_suitable</a>(size: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></h4><divclass='docblock hidden'><p>Returns true if the size is suitable to store a type like this.</p>
</div><h4id='method.indiv_size'class="method hidden"><codeid='indiv_size.v'>fn <ahref='#method.indiv_size'class='fnname'>indiv_size</a>() -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code></h4><divclass='docblock hidden'><p>Returns the size of an individual element.</p>
</div></div><h3id='impl-Erased'class='impl'><codeclass='in-band'>impl<T> Erased for T</code><ahref='#impl-Erased'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-SafeBorrow%3CT%3E'class='impl'><codeclass='in-band'>impl<T> SafeBorrow<T> for T</code><ahref='#impl-SafeBorrow%3CT%3E'class='anchor'></a></h3><divclass='impl-items'></div></div></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../../aliases.js"></script><scriptsrc="../../../../main.js"></script><scriptdefersrc="../../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `CanvasShaderHandle` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, CanvasShaderHandle"><title>sfml_rust::canvas::managed::handles::CanvasShaderHandle - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct CanvasShaderHandle</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Eq">Eq</a><ahref="#impl-Handle">Handle</a><ahref="#impl-Hash">Hash</a><ahref="#impl-PartialEq%3CCanvasShaderHandle%3E">PartialEq<CanvasShaderHandle></a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a></p><script>window.sidebarCurrent={name:'CanvasShaderHandle',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#44-46' title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a>::<wbr><aclass="struct"href=''>CanvasShaderHandle</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct CanvasShaderHandle { /* fields omitted */ }</pre></div><divclass='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Handle'class='impl'><codeclass='in-band'>impl <aclass="trait"href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html"title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-Handle'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#48-52' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.get_handle'class="method hidden"><codeid='get_handle.v'>fn <ahref='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle'class='fnname'>get_handle</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#49-51' title='goto source code'>[src]</a></h4></div><h3id='impl-Eq'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-Eq'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43' title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `CompiledShaderHandle` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, CompiledShaderHandle"><title>sfml_rust::canvas::managed::handles::CompiledShaderHandle - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct CompiledShaderHandle</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Eq">Eq</a><ahref="#impl-Handle">Handle</a><ahref="#impl-Hash">Hash</a><ahref="#impl-PartialEq%3CCompiledShaderHandle%3E">PartialEq<CompiledShaderHandle></a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a></p><script>window.sidebarCurrent={name:'CompiledShaderHandle',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#53-55' title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>canvas</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><ahref='index.html'>handles</a>::<wbr><aclass="struct"href=''>CompiledShaderHandle</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct CompiledShaderHandle { /* fields omitted */ }</pre></div><divclass='docblock'><p>Typed wrapper for a u32 handle</p>
</div><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Handle'class='impl'><codeclass='in-band'>impl <aclass="trait"href="../../../../sfml_rust/canvas/managed/handles/trait.Handle.html"title="trait sfml_rust::canvas::managed::handles::Handle">Handle</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-Handle'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#57-61' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.get_handle'class="method hidden"><codeid='get_handle.v'>fn <ahref='../../../../sfml_rust/canvas/managed/handles/trait.Handle.html#tymethod.get_handle'class='fnname'>get_handle</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#58-60' title='goto source code'>[src]</a></h4></div><h3id='impl-Eq'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-Eq'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method hidden"><codeid='clone_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3id='impl-PartialEq%3CCanvasShaderHandle%3E' class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a>> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-PartialEq%3CCanvasShaderHandle%3E' class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-Hash'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.hash'class="method hidden"><codeid='hash.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><__H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>__H)</code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div></div><h3id='impl-PartialEq%3CCompiledShaderHandle%3E' class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-PartialEq%3CCompiledShaderHandle%3E' class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-Hash'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.hash'class="method hidden"><codeid='hash.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><__H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>__H)</code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4id='method.hash_slice'class="method hidden"><codeid='hash_slice.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice'class='fnname'>hash_slice</a><H>(data: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></code><spanclass='since'title='Stable since Rust version 1.3.0'>1.3.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#43' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CanvasShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CanvasShaderHandle">CanvasShaderHandle</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../../src/sfml_rust/canvas/managed/handles.rs.html#52' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4id='method.to_owned'class="method hidden"><codeid='to_owned.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned'class='fnname'>to_owned</a>(&self) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4id='method.clone_into'class="method hidden"><codeid='clone_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into'class='fnname'>clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><details><summary><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><divclass='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `generic_shader` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, generic_shader"><title>sfml_rust::canvas::managed::shader::generic_shader - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../../light.css"id="themeStyle"><scriptsrc="../../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module generic_shader</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../../../index.html'>sfml_rust</a>::<wbr><ahref='../../../index.html'>canvas</a>::<wbr><ahref='../../index.html'>managed</a>::<wbr><ahref='../index.html'>shader</a></p><script>window.sidebarCurrent={name:'generic_shader',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../../settings.html"><imgsrc="../../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#2-143' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../../../index.html'>sfml_rust</a>::<wbr><ahref='../../../index.html'>canvas</a>::<wbr><ahref='../../index.html'>managed</a>::<wbr><ahref='../index.html'>shader</a>::<wbr><aclass="mod"href=''>generic_shader</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `generic_shader` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, generic_shader"><title>sfml_rust::canvas::managed::shader::generic_shader - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../../light.css"id="themeStyle"><scriptsrc="../../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module generic_shader</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../../../index.html'>sfml_rust</a>::<wbr><ahref='../../../index.html'>canvas</a>::<wbr><ahref='../../index.html'>managed</a>::<wbr><ahref='../index.html'>shader</a></p><script>window.sidebarCurrent={name:'generic_shader',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../../settings.html"><imgsrc="../../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#2-142' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../../../index.html'>sfml_rust</a>::<wbr><ahref='../../../index.html'>canvas</a>::<wbr><ahref='../../index.html'>managed</a>::<wbr><ahref='../index.html'>shader</a>::<wbr><aclass="mod"href=''>generic_shader</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.GenericShader.html"title='sfml_rust::canvas::managed::shader::generic_shader::GenericShader struct'>GenericShader</a></td><tdclass='docblock-short'><p>CanvasShader holds the pipeline and render pass for the input shader source</p>
</td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../../../aliases.js"></script><scriptsrc="../../../../../main.js"></script><scriptdefersrc="../../../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `CompiledGraphicsPipeline` trait in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, CompiledGraphicsPipeline"><title>sfml_rust::canvas::managed::shader::shader_common::CompiledGraphicsPipeline - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../../light.css"id="themeStyle"><scriptsrc="../../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Trait CompiledGraphicsPipeline</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#required-methods">Required Methods</a><divclass="sidebar-links"><ahref="#tymethod.get_handle">get_handle</a><ahref="#tymethod.get_name">get_name</a><ahref="#tymethod.get_pipeline">get_pipeline</a><ahref="#tymethod.get_renderpass">get_renderpass</a><ahref="#tymethod.new">new</a><ahref="#tymethod.recompile">recompile</a></div><aclass="sidebar-title"href="#implementors">Implementors</a></div><pclass='location'><ahref='../../../../index.html'>sfml_rust</a>::<wbr><ahref='../../../index.html'>canvas</a>::<wbr><ahref='../../index.html'>managed</a>::<wbr><ahref='../index.html'>shader</a>::<wbr><ahref='index.html'>shader_common</a></p><script>window.sidebarCurrent={name:'CompiledGraphicsPipeline',ty:'trait',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../../settings.html"><imgsrc="../../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../../src/sfml_rust/canvas/managed/shader/shader_common.rs.html#102-113'title='goto source code'>[src]</a></span><spanclass='in-band'>Trait <ahref='../../../../index.html'>sfml_rust</a>::<wbr><ahref='../../../index.html'>canvas</a>::<wbr><ahref='../../index.html'>managed</a>::<wbr><ahref='../index.html'>shader</a>::<wbr><ahref='index.html'>shader_common</a>::<wbr><aclass="trait"href=''>CompiledGraphicsPipeline</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust trait'>pub trait CompiledGraphicsPipeline {
<h2id='implementors'class='small-section-header'>Implementors<ahref='#implementors'class='anchor'></a></h2><divclass='item-list'id='implementors-list'><h3id='impl-CompiledGraphicsPipeline'class='impl'><codeclass='in-band'>impl CompiledGraphicsPipeline for <aclass="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><ahref='#impl-CompiledGraphicsPipeline'class='anchor'></a><aclass='srclink'href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#42-143' title='goto source code'>[src]</a></h3><divclass='docblock'><p>Convenience interface so we don't have to juggle shader types</p>
</div><divclass='impl-items'><h4id='method.new'class="method"><codeid='new.v-1'>fn <ahref='#method.new'class='fnname'>new</a>(<br> filename: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <br> device: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><Device>, <br> handle: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a>>, <br> render_pass: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><dyn RenderPassAbstract + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a>><br>) -><aclass="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><aclass='srclink'href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#45-119' title='goto source code'>[src]</a></h4><divclass='docblock'><p>This will explode when the shader does not want to compile</p>
<h2id='implementors'class='small-section-header'>Implementors<ahref='#implementors'class='anchor'></a></h2><divclass='item-list'id='implementors-list'><h3id='impl-CompiledGraphicsPipeline'class='impl'><codeclass='in-band'>impl CompiledGraphicsPipeline for <aclass="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><ahref='#impl-CompiledGraphicsPipeline'class='anchor'></a><aclass='srclink'href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#41-142' title='goto source code'>[src]</a></h3><divclass='docblock'><p>Convenience interface so we don't have to juggle shader types</p>
</div><divclass='impl-items'><h4id='method.new'class="method"><codeid='new.v-1'>fn <ahref='#method.new'class='fnname'>new</a>(<br> filename: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <br> device: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><Device>, <br> handle: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../../../../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>>, <br> render_pass: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><dyn RenderPassAbstract + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a>><br>) -><aclass="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><aclass='srclink'href='../../../../../src/sfml_rust/canvas/managed/shader/generic_shader.rs.html#44-118' title='goto source code'>[src]</a></h4><divclass='docblock'><p>This will explode when the shader does not want to compile</p>
</script></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../../../aliases.js"></script><scriptsrc="../../../../../main.js"></script><scriptdefersrc="../../../../../search-index.js"></script></body></html>
</script></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../../../aliases.js"></script><scriptsrc="../../../../../main.js"></script><scriptdefersrc="../../../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `text_shader` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, text_shader"><title>sfml_rust::canvas::managed::shader::text_shader - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../../light.css"id="themeStyle"><scriptsrc="../../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module text_shader</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../../../index.html'>sfml_rust</a>::<wbr><ahref='../../../index.html'>canvas</a>::<wbr><ahref='../../index.html'>managed</a>::<wbr><ahref='../index.html'>shader</a></p><script>window.sidebarCurrent={name:'text_shader',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../../settings.html"><imgsrc="../../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#1-170' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../../../index.html'>sfml_rust</a>::<wbr><ahref='../../../index.html'>canvas</a>::<wbr><ahref='../../index.html'>managed</a>::<wbr><ahref='../index.html'>shader</a>::<wbr><aclass="mod"href=''>text_shader</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `text_shader` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, text_shader"><title>sfml_rust::canvas::managed::shader::text_shader - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../../light.css"id="themeStyle"><scriptsrc="../../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module text_shader</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../../../index.html'>sfml_rust</a>::<wbr><ahref='../../../index.html'>canvas</a>::<wbr><ahref='../../index.html'>managed</a>::<wbr><ahref='../index.html'>shader</a></p><script>window.sidebarCurrent={name:'text_shader',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../../settings.html"><imgsrc="../../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../../src/sfml_rust/canvas/managed/shader/text_shader.rs.html#1-169' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../../../index.html'>sfml_rust</a>::<wbr><ahref='../../../index.html'>canvas</a>::<wbr><ahref='../../index.html'>managed</a>::<wbr><ahref='../index.html'>shader</a>::<wbr><aclass="mod"href=''>text_shader</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.GlyphInstance.html"title='sfml_rust::canvas::managed::shader::text_shader::GlyphInstance struct'>GlyphInstance</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="struct"href="struct.TextShader.html"title='sfml_rust::canvas::managed::shader::text_shader::TextShader struct'>TextShader</a></td><tdclass='docblock-short'><p>CanvasShader holds the pipeline and render pass for the input shader source</p>
</td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../../../aliases.js"></script><scriptsrc="../../../../../main.js"></script><scriptdefersrc="../../../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `compu_frame` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, compu_frame"><title>sfml_rust::compute::compu_frame - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module compu_frame</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>compute</a></p><script>window.sidebarCurrent={name:'compu_frame',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/compute/compu_frame.rs.html#1-57' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>compute</a>::<wbr><aclass="mod"href=''>compu_frame</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `compu_frame` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, compu_frame"><title>sfml_rust::compute::compu_frame - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module compu_frame</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>compute</a></p><script>window.sidebarCurrent={name:'compu_frame',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/compute/compu_frame.rs.html#1-56' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>compute</a>::<wbr><aclass="mod"href=''>compu_frame</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.CompuFrame.html"title='sfml_rust::compute::compu_frame::CompuFrame struct'>CompuFrame</a></td><tdclass='docblock-short'></td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `compu_sprite` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, compu_sprite"><title>sfml_rust::compute::managed::compu_sprite - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module compu_sprite</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>compute</a>::<wbr><ahref='../index.html'>managed</a></p><script>window.sidebarCurrent={name:'compu_sprite',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/compute/managed/compu_sprite.rs.html#1-71' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>compute</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><aclass="mod"href=''>compu_sprite</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `compu_sprite` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, compu_sprite"><title>sfml_rust::compute::managed::compu_sprite - Rust</title><linkrel="stylesheet"type="text/css"href="../../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../../light.css"id="themeStyle"><scriptsrc="../../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module compu_sprite</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>compute</a>::<wbr><ahref='../index.html'>managed</a></p><script>window.sidebarCurrent={name:'compu_sprite',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../../settings.html"><imgsrc="../../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../../src/sfml_rust/compute/managed/compu_sprite.rs.html#1-48' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../../index.html'>sfml_rust</a>::<wbr><ahref='../../index.html'>compute</a>::<wbr><ahref='../index.html'>managed</a>::<wbr><aclass="mod"href=''>compu_sprite</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.CompuSprite.html"title='sfml_rust::compute::managed::compu_sprite::CompuSprite struct'>CompuSprite</a></td><tdclass='docblock-short'></td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../../aliases.js"></script><scriptsrc="../../../../main.js"></script><scriptdefersrc="../../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `main` fn in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, main"><title>sfml_rust::main - Rust</title><linkrel="stylesheet"type="text/css"href="../normalize.css"><linkrel="stylesheet"type="text/css"href="../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../dark.css"><linkrel="stylesheet"type="text/css"href="../light.css"id="themeStyle"><scriptsrc="../storage.js"></script><noscript><linkrel="stylesheet"href="../noscript.css"></noscript><linkrel="shortcut icon"href="../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><bodyclass="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../rust-logo.png'alt='logo'></div></a><divclass="sidebar-elems"><pclass='location'><ahref='index.html'>sfml_rust</a></p><script>window.sidebarCurrent={name:'main',ty:'fn',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../settings.html"><imgsrc="../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../src/sfml_rust/main.rs.html#57-202' title='goto source code'>[src]</a></span><spanclass='in-band'>Function <ahref='index.html'>sfml_rust</a>::<wbr><aclass="fn"href=''>main</a></span></h1><preclass='rust fn'>pub fn main()</pre></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../aliases.js"></script><scriptsrc="../main.js"></script><scriptdefersrc="../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `main` fn in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, main"><title>sfml_rust::main - Rust</title><linkrel="stylesheet"type="text/css"href="../normalize.css"><linkrel="stylesheet"type="text/css"href="../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../dark.css"><linkrel="stylesheet"type="text/css"href="../light.css"id="themeStyle"><scriptsrc="../storage.js"></script><noscript><linkrel="stylesheet"href="../noscript.css"></noscript><linkrel="shortcut icon"href="../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><bodyclass="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../rust-logo.png'alt='logo'></div></a><divclass="sidebar-elems"><pclass='location'><ahref='index.html'>sfml_rust</a></p><script>window.sidebarCurrent={name:'main',ty:'fn',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../settings.html"><imgsrc="../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../src/sfml_rust/main.rs.html#60-215' title='goto source code'>[src]</a></span><spanclass='in-band'>Function <ahref='index.html'>sfml_rust</a>::<wbr><aclass="fn"href=''>main</a></span></h1><preclass='rust fn'>pub fn main()</pre></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../aliases.js"></script><scriptsrc="../main.js"></script><scriptdefersrc="../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `sfml_rust` crate."><metaname="keywords"content="rust, rustlang, rust-lang, sfml_rust"><title>sfml_rust - Rust</title><linkrel="stylesheet"type="text/css"href="../normalize.css"><linkrel="stylesheet"type="text/css"href="../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../dark.css"><linkrel="stylesheet"type="text/css"href="../light.css"id="themeStyle"><scriptsrc="../storage.js"></script><noscript><linkrel="stylesheet"href="../noscript.css"></noscript><linkrel="shortcut icon"href="../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../rust-logo.png'alt='logo'></div></a><pclass='location'>Crate sfml_rust</p><divclass="sidebar-elems"><aid='all-types'href='all.html'><p>See all sfml_rust's items</p></a><divclass="block items"><ul><li><ahref="#modules">Modules</a></li><li><ahref="#functions">Functions</a></li></ul></div><pclass='location'></p><script>window.sidebarCurrent={name:'sfml_rust',ty:'mod',relpath:'../'};</script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../settings.html"><imgsrc="../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../src/sfml_rust/main.rs.html#1-202' title='goto source code'>[src]</a></span><spanclass='in-band'>Crate <aclass="mod"href=''>sfml_rust</a></span></h1><h2id='modules'class='section-header'><ahref="#modules">Modules</a></h2>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `sfml_rust` crate."><metaname="keywords"content="rust, rustlang, rust-lang, sfml_rust"><title>sfml_rust - Rust</title><linkrel="stylesheet"type="text/css"href="../normalize.css"><linkrel="stylesheet"type="text/css"href="../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../dark.css"><linkrel="stylesheet"type="text/css"href="../light.css"id="themeStyle"><scriptsrc="../storage.js"></script><noscript><linkrel="stylesheet"href="../noscript.css"></noscript><linkrel="shortcut icon"href="../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../rust-logo.png'alt='logo'></div></a><pclass='location'>Crate sfml_rust</p><divclass="sidebar-elems"><aid='all-types'href='all.html'><p>See all sfml_rust's items</p></a><divclass="block items"><ul><li><ahref="#modules">Modules</a></li><li><ahref="#functions">Functions</a></li></ul></div><pclass='location'></p><script>window.sidebarCurrent={name:'sfml_rust',ty:'mod',relpath:'../'};</script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../settings.html"><imgsrc="../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../src/sfml_rust/main.rs.html#1-215' title='goto source code'>[src]</a></span><spanclass='in-band'>Crate <aclass="mod"href=''>sfml_rust</a></span></h1><h2id='modules'class='section-header'><ahref="#modules">Modules</a></h2>
<table><trclass='module-item'><td><aclass="fn"href="fn.main.html"title='sfml_rust::main fn'>main</a></td><tdclass='docblock-short'></td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../aliases.js"></script><scriptsrc="../main.js"></script><scriptdefersrc="../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `sprite` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, sprite"><title>sfml_rust::sprite - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptsrc="../../storage.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="shortcut icon"href="../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module sprite</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li><li><ahref="#traits">Traits</a></li></ul></div><pclass='location'><ahref='../index.html'>sfml_rust</a></p><script>window.sidebarCurrent={name:'sprite',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../settings.html"><imgsrc="../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../src/sfml_rust/sprite.rs.html#1-318'title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../index.html'>sfml_rust</a>::<wbr><aclass="mod"href=''>sprite</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="trait"href="trait.TextHandle.html"title='sfml_rust::sprite::TextHandle trait'>TextHandle</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="trait"href="trait.TextInstance.html"title='sfml_rust::sprite::TextInstance trait'>TextInstance</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="trait"href="trait.TextVertex.html"title='sfml_rust::sprite::TextVertex trait'>TextVertex</a></td><tdclass='docblock-short'></td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../aliases.js"></script><scriptsrc="../../main.js"></script><scriptdefersrc="../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `sprite` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, sprite"><title>sfml_rust::sprite - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptsrc="../../storage.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="shortcut icon"href="../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module sprite</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../index.html'>sfml_rust</a></p><script>window.sidebarCurrent={name:'sprite',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../settings.html"><imgsrc="../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../src/sfml_rust/sprite.rs.html#1-41'title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../index.html'>sfml_rust</a>::<wbr><aclass="mod"href=''>sprite</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.Sprite.html"title='sfml_rust::sprite::Sprite struct'>Sprite</a></td><tdclass='docblock-short'></td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../aliases.js"></script><scriptsrc="../../main.js"></script><scriptdefersrc="../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `TextHandle` trait in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, TextHandle"><title>sfml_rust::sprite::TextHandle - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptsrc="../../storage.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="shortcut icon"href="../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><bodyclass="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../rust-logo.png'alt='logo'></div></a><pclass='location'>Trait TextHandle</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#required-methods">Required Methods</a><divclass="sidebar-links"><ahref="#tymethod.do_nothing">do_nothing</a></div><aclass="sidebar-title"href="#implementors">Implementors</a></div><pclass='location'><ahref='../index.html'>sfml_rust</a>::<wbr><ahref='index.html'>sprite</a></p><script>window.sidebarCurrent={name:'TextHandle',ty:'trait',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../settings.html"><imgsrc="../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../src/sfml_rust/sprite.rs.html#294-296'title='goto source code'>[src]</a></span><spanclass='in-band'>Trait <ahref='../index.html'>sfml_rust</a>::<wbr><ahref='index.html'>sprite</a>::<wbr><aclass="trait"href=''>TextHandle</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust trait'>pub trait TextHandle {
</script></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../aliases.js"></script><scriptsrc="../../main.js"></script><scriptdefersrc="../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `TextInstance` trait in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, TextInstance"><title>sfml_rust::sprite::TextInstance - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptsrc="../../storage.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="shortcut icon"href="../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><bodyclass="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../rust-logo.png'alt='logo'></div></a><pclass='location'>Trait TextInstance</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#required-methods">Required Methods</a><divclass="sidebar-links"><ahref="#tymethod.get_thing">get_thing</a></div><aclass="sidebar-title"href="#implementors">Implementors</a></div><pclass='location'><ahref='../index.html'>sfml_rust</a>::<wbr><ahref='index.html'>sprite</a></p><script>window.sidebarCurrent={name:'TextInstance',ty:'trait',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../settings.html"><imgsrc="../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../src/sfml_rust/sprite.rs.html#298-300'title='goto source code'>[src]</a></span><spanclass='in-band'>Trait <ahref='../index.html'>sfml_rust</a>::<wbr><ahref='index.html'>sprite</a>::<wbr><aclass="trait"href=''>TextInstance</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust trait'>pub trait TextInstance {
</script></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../aliases.js"></script><scriptsrc="../../main.js"></script><scriptdefersrc="../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `TextVertex` trait in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, TextVertex"><title>sfml_rust::sprite::TextVertex - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptsrc="../../storage.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="shortcut icon"href="../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><bodyclass="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../rust-logo.png'alt='logo'></div></a><pclass='location'>Trait TextVertex</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#required-methods">Required Methods</a><divclass="sidebar-links"><ahref="#tymethod.get_vertices">get_vertices</a></div><aclass="sidebar-title"href="#implementors">Implementors</a></div><pclass='location'><ahref='../index.html'>sfml_rust</a>::<wbr><ahref='index.html'>sprite</a></p><script>window.sidebarCurrent={name:'TextVertex',ty:'trait',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../settings.html"><imgsrc="../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../src/sfml_rust/sprite.rs.html#302-304'title='goto source code'>[src]</a></span><spanclass='in-band'>Trait <ahref='../index.html'>sfml_rust</a>::<wbr><ahref='index.html'>sprite</a>::<wbr><aclass="trait"href=''>TextVertex</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust trait'>pub trait TextVertex {
</script></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../aliases.js"></script><scriptsrc="../../main.js"></script><scriptdefersrc="../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `util` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, util"><title>sfml_rust::util - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptsrc="../../storage.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="shortcut icon"href="../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module util</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#modules">Modules</a></li><li><ahref="#functions">Functions</a></li></ul></div><pclass='location'><ahref='../index.html'>sfml_rust</a></p><script>window.sidebarCurrent={name:'util',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../settings.html"><imgsrc="../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../src/sfml_rust/util/mod.rs.html#1-43' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../index.html'>sfml_rust</a>::<wbr><aclass="mod"href=''>util</a></span></h1><h2id='modules'class='section-header'><ahref="#modules">Modules</a></h2>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `util` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, util"><title>sfml_rust::util - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptsrc="../../storage.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="shortcut icon"href="../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module util</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#modules">Modules</a></li><li><ahref="#functions">Functions</a></li></ul></div><pclass='location'><ahref='../index.html'>sfml_rust</a></p><script>window.sidebarCurrent={name:'util',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../settings.html"><imgsrc="../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../src/sfml_rust/util/mod.rs.html#1-42' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../index.html'>sfml_rust</a>::<wbr><aclass="mod"href=''>util</a></span></h1><h2id='modules'class='section-header'><ahref="#modules">Modules</a></h2>
<table><trclass='module-item'><td><aclass="fn"href="fn.load_raw.html"title='sfml_rust::util::load_raw fn'>load_raw</a></td><tdclass='docblock-short'></td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../aliases.js"></script><scriptsrc="../../main.js"></script><scriptdefersrc="../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `vertex` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, vertex"><title>sfml_rust::util::vertex - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module vertex</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li><li><ahref="#enums">Enums</a></li></ul></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a></p><script>window.sidebarCurrent={name:'vertex',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#1-60'title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><aclass="mod"href=''>vertex</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.CanvasFrameAllocation.html"title='sfml_rust::util::vertex::CanvasFrameAllocation struct'>CanvasFrameAllocation</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="struct"href="struct.ColorVertex2D.html"title='sfml_rust::util::vertex::ColorVertex2D struct'>ColorVertex2D</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="struct"href="struct.ImageVertex2D.html"title='sfml_rust::util::vertex::ImageVertex2D struct'>ImageVertex2D</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="struct"href="struct.TextVertex3D.html"title='sfml_rust::util::vertex::TextVertex3D struct'>TextVertex3D</a></td><tdclass='docblock-short'><p>Text vertex 3d with vertex position</p>
<table><trclass='module-item'><td><aclass="enum"href="enum.VertexTypes.html"title='sfml_rust::util::vertex::VertexTypes enum'>VertexTypes</a></td><tdclass='docblock-short'></td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
initSidebarItems({"enum":[["VertexTypes",""]],"struct":[["CanvasFrameAllocation",""],["ColorVertex2D",""],["ImageVertex2D",""],["TextVertex3D","Text vertex 3d with vertex position"],["TextureVertex2D",""],["Vertex3D",""]]});
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `ImageVertex2D` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, ImageVertex2D"><title>sfml_rust::util::vertex::ImageVertex2D - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct ImageVertex2D</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#fields">Fields</a><divclass="sidebar-links"><ahref="#structfield.v_position">v_position</a><ahref="#structfield.color">color</a></div><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Copy">Copy</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Vertex">Vertex</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex</a></p><script>window.sidebarCurrent={name:'ImageVertex2D',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#21-24'title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex</a>::<wbr><aclass="struct"href=''>ImageVertex2D</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct ImageVertex2D {
Fields<ahref='#fields'class='anchor'></a></h2><spanid="structfield.v_position"class="structfield small-section-header"><ahref="#structfield.v_position"class="anchor field"></a><codeid="v_position.v">v_position: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code></span><spanid="structfield.color"class="structfield small-section-header"><ahref="#structfield.color"class="anchor field"></a><codeid="color.v">color: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a></code></span><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#20'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#20'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#20'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#20'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method hidden"><codeid='clone_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3id='impl-Copy'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><ahref='#impl-Copy'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#20'title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#20'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#20'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Vertex'class='impl'><codeclass='in-band'>impl Vertex for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><ahref='#impl-Vertex'class='anchor'></a></h3><divclass='impl-items'><h4id='method.member'class="method hidden"><codeid='member.v'>fn <ahref='#method.member'class='fnname'>member</a>(name: &<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><VertexMemberInfo></code></h4><divclass='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.ImageVertex2D.html"title="struct sfml_rust::util::vertex::ImageVertex2D">ImageVertex2D</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4id='method.to_owned'class="method hidden"><codeid='to_owned.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned'class='fnname'>to_owned</a>(&self) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4id='method.clone_into'class="method hidden"><codeid='clone_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into'class='fnname'>clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><details><summary><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><divclass='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3id='impl-Into%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></code><ahref='#impl-Into%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.into'class="method hidden"><codeid='into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into'class='fnname'>into</a>(self) -> U</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-From%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for T</code><ahref='#impl-From%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.from'class="method hidden"><codeid='from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from'class='fnname'>from</a>(t: T) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryFrom%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></code><ahref='#impl-TryFrom%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error'class="type"><codeid='Error.t'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error'class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_from'class="method hidden"><codeid='try_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from'class='fnname'>try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryInto%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><ahref='#impl-TryInto%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error-1'class="type"><codeid='Error.t-1'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error'class="type">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_into'class="method hidden"><codeid='try_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into'class='fnname'>try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-BorrowMut%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-BorrowMut%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow_mut'class="method hidden"><codeid='borrow_mut.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut'class='fnname'>borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3id='impl-Borrow%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Borrow%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow'class="method hidden"><codeid='borrow.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow'class='fnname'>borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3id='impl-Any'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Any'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.type_id'class="method hidden"><codeid='type_id.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id'class='fnname'>type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3id='impl-SetParameter'class='impl'><codeclass='in-band'>impl<T> SetParameter for T</code><ahref='#impl-SetParameter'class='anchor'></a></h3><divclass='impl-items'><h4id='method.set'class="method hidden"><codeid='set.v'>fn <ahref='#method.set'class='fnname'>set</a><T>(&mut self, value: T) -><T as Parameter<Self>>::Result <spanclass="where fmt-newline">where<br> T: Parameter<Self>, </span></code></h4><divclass='docblock hidden'><p>Sets <code>value</code> as a parameter of <code>self</code>.</p>
</div></div><h3id='impl-Same%3CT%3E'class='impl'><codeclass='in-band'>impl<T> Same<T> for T</code><ahref='#impl-Same%3CT%3E'class='anchor'></a></h3><divclass='impl-items'><h4id='associatedtype.Output'class="type"><codeid='Output.t'>type <ahref='#associatedtype.Output'class="type">Output</a> = T</code></h4><divclass='docblock'><p>Should always be <code>Self</code></p>
</div></div><h3id='impl-SupersetOf%3CSS%3E'class='impl'><codeclass='in-band'>impl<SS, SP> SupersetOf<SS> for SP <spanclass="where fmt-newline">where<br> SS: SubsetOf<SP>, </span></code><ahref='#impl-SupersetOf%3CSS%3E'class='anchor'></a></h3><divclass='impl-items'><h4id='method.to_subset'class="method hidden"><codeid='to_subset.v'>fn <ahref='#method.to_subset'class='fnname'>to_subset</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><SS></code></h4><divclass='docblock hidden'><p>The inverse inclusion map: attempts to construct <code>self</code> from the equivalent element of its superset. <ahref="#method.to_subset">Read more</a></p>
</div><h4id='method.is_in_subset'class="method hidden"><codeid='is_in_subset.v'>fn <ahref='#method.is_in_subset'class='fnname'>is_in_subset</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></h4><divclass='docblock hidden'><p>Checks if <code>self</code> is actually part of its subset <code>T</code> (and can be converted to it).</p>
</div><h4id='method.to_subset_unchecked'class="method hidden"><codeid='to_subset_unchecked.v'>unsafe fn <ahref='#method.to_subset_unchecked'class='fnname'>to_subset_unchecked</a>(&self) -> SS</code></h4><divclass='docblock hidden'><p>Use with care! Same as <code>self.to_subset</code> but without any property checks. Always succeeds.</p>
</div><h4id='method.from_subset'class="method hidden"><codeid='from_subset.v'>fn <ahref='#method.from_subset'class='fnname'>from_subset</a>(element: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>SS) -> SP</code></h4><divclass='docblock hidden'><p>The inclusion map: converts <code>self</code> to the equivalent element of its superset.</p>
</div></div><h3id='impl-Content'class='impl'><codeclass='in-band'>impl<T> Content for T</code><ahref='#impl-Content'class='anchor'></a></h3><divclass='impl-items'><h4id='method.ref_from_ptr'class="method hidden"><codeid='ref_from_ptr.v'>fn <ahref='#method.ref_from_ptr'class='fnname'>ref_from_ptr</a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><aclass="enum"href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html"title="enum core::ffi::c_void">c_void</a>, size: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut T</a>></code></h4><divclass='docblock hidden'><p>Builds a pointer to this type from a raw pointer.</p>
</div><h4id='method.is_size_suitable'class="method hidden"><codeid='is_size_suitable.v'>fn <ahref='#method.is_size_suitable'class='fnname'>is_size_suitable</a>(size: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></h4><divclass='docblock hidden'><p>Returns true if the size is suitable to store a type like this.</p>
</div><h4id='method.indiv_size'class="method hidden"><codeid='indiv_size.v'>fn <ahref='#method.indiv_size'class='fnname'>indiv_size</a>() -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code></h4><divclass='docblock hidden'><p>Returns the size of an individual element.</p>
</div></div><h3id='impl-Erased'class='impl'><codeclass='in-band'>impl<T> Erased for T</code><ahref='#impl-Erased'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-SafeBorrow%3CT%3E'class='impl'><codeclass='in-band'>impl<T> SafeBorrow<T> for T</code><ahref='#impl-SafeBorrow%3CT%3E'class='anchor'></a></h3><divclass='impl-items'></div></div></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `TextVertex3D` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, TextVertex3D"><title>sfml_rust::util::vertex_3d::TextVertex3D - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct TextVertex3D</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#fields">Fields</a><divclass="sidebar-links"><ahref="#structfield.position">position</a></div><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Copy">Copy</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Vertex">Vertex</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex_3d</a></p><script>window.sidebarCurrent={name:'TextVertex3D',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/util/vertex_3d.rs.html#15-17' title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex_3d</a>::<wbr><aclass="struct"href=''>TextVertex3D</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct TextVertex3D {
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `TextVertex3D` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, TextVertex3D"><title>sfml_rust::util::vertex::TextVertex3D - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct TextVertex3D</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#fields">Fields</a><divclass="sidebar-links"><ahref="#structfield.position">position</a></div><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Copy">Copy</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Vertex">Vertex</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex</a></p><script>window.sidebarCurrent={name:'TextVertex3D',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#37-39' title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex</a>::<wbr><aclass="struct"href=''>TextVertex3D</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct TextVertex3D {
Fields<ahref='#fields'class='anchor'></a></h2><spanid="structfield.position"class="structfield small-section-header"><ahref="#structfield.position"class="anchor field"></a><codeid="position.v">position: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a></code></span><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex_3d.rs.html#14' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex_3d.rs.html#14' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex_3d.rs.html#14' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex_3d.rs.html#14' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
Fields<ahref='#fields'class='anchor'></a></h2><spanid="structfield.position"class="structfield small-section-header"><ahref="#structfield.position"class="anchor field"></a><codeid="position.v">position: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a></code></span><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#36' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#36' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#36' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#36' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method hidden"><codeid='clone_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3id='impl-Copy'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Copy'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex_3d.rs.html#14' title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex_3d.rs.html#14' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex_3d.rs.html#14' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Vertex'class='impl'><codeclass='in-band'>impl Vertex for <aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Vertex'class='anchor'></a></h3><divclass='impl-items'><h4id='method.member'class="method hidden"><codeid='member.v'>fn <ahref='#method.member'class='fnname'>member</a>(name: &<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><VertexMemberInfo></code></h4><divclass='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_3d/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex_3d::TextVertex3D">TextVertex3D</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div></div><h3id='impl-Copy'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Copy'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#36' title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#36' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#36' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Vertex'class='impl'><codeclass='in-band'>impl Vertex for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Vertex'class='anchor'></a></h3><divclass='impl-items'><h4id='method.member'class="method hidden"><codeid='member.v'>fn <ahref='#method.member'class='fnname'>member</a>(name: &<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><VertexMemberInfo></code></h4><divclass='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextVertex3D.html" title="struct sfml_rust::util::vertex::TextVertex3D">TextVertex3D</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4id='method.to_owned'class="method hidden"><codeid='to_owned.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned'class='fnname'>to_owned</a>(&self) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4id='method.clone_into'class="method hidden"><codeid='clone_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into'class='fnname'>clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><details><summary><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><divclass='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `TextureVertex2D` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, TextureVertex2D"><title>sfml_rust::util::vertex::TextureVertex2D - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct TextureVertex2D</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#fields">Fields</a><divclass="sidebar-links"><ahref="#structfield.v_position">v_position</a><ahref="#structfield.ti_position">ti_position</a></div><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Copy">Copy</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Vertex">Vertex</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex</a></p><script>window.sidebarCurrent={name:'TextureVertex2D',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#7-10'title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex</a>::<wbr><aclass="struct"href=''>TextureVertex2D</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct TextureVertex2D {
Fields<ahref='#fields'class='anchor'></a></h2><spanid="structfield.v_position"class="structfield small-section-header"><ahref="#structfield.v_position"class="anchor field"></a><codeid="v_position.v">v_position: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code></span><spanid="structfield.ti_position"class="structfield small-section-header"><ahref="#structfield.ti_position"class="anchor field"></a><codeid="ti_position.v">ti_position: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code></span><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#6'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#6'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#6'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#6'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method hidden"><codeid='clone_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3id='impl-Copy'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><ahref='#impl-Copy'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#6'title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#6'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#6'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Vertex'class='impl'><codeclass='in-band'>impl Vertex for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><ahref='#impl-Vertex'class='anchor'></a></h3><divclass='impl-items'><h4id='method.member'class="method hidden"><codeid='member.v'>fn <ahref='#method.member'class='fnname'>member</a>(name: &<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><VertexMemberInfo></code></h4><divclass='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.TextureVertex2D.html"title="struct sfml_rust::util::vertex::TextureVertex2D">TextureVertex2D</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4id='method.to_owned'class="method hidden"><codeid='to_owned.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned'class='fnname'>to_owned</a>(&self) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4id='method.clone_into'class="method hidden"><codeid='clone_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into'class='fnname'>clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><details><summary><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><divclass='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3id='impl-Into%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></code><ahref='#impl-Into%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.into'class="method hidden"><codeid='into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into'class='fnname'>into</a>(self) -> U</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-From%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for T</code><ahref='#impl-From%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.from'class="method hidden"><codeid='from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from'class='fnname'>from</a>(t: T) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryFrom%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></code><ahref='#impl-TryFrom%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error'class="type"><codeid='Error.t'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error'class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_from'class="method hidden"><codeid='try_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from'class='fnname'>try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryInto%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><ahref='#impl-TryInto%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error-1'class="type"><codeid='Error.t-1'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error'class="type">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_into'class="method hidden"><codeid='try_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into'class='fnname'>try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-BorrowMut%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-BorrowMut%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow_mut'class="method hidden"><codeid='borrow_mut.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut'class='fnname'>borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3id='impl-Borrow%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Borrow%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow'class="method hidden"><codeid='borrow.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow'class='fnname'>borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3id='impl-Any'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Any'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.type_id'class="method hidden"><codeid='type_id.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id'class='fnname'>type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3id='impl-SetParameter'class='impl'><codeclass='in-band'>impl<T> SetParameter for T</code><ahref='#impl-SetParameter'class='anchor'></a></h3><divclass='impl-items'><h4id='method.set'class="method hidden"><codeid='set.v'>fn <ahref='#method.set'class='fnname'>set</a><T>(&mut self, value: T) -><T as Parameter<Self>>::Result <spanclass="where fmt-newline">where<br> T: Parameter<Self>, </span></code></h4><divclass='docblock hidden'><p>Sets <code>value</code> as a parameter of <code>self</code>.</p>
</div></div><h3id='impl-Same%3CT%3E'class='impl'><codeclass='in-band'>impl<T> Same<T> for T</code><ahref='#impl-Same%3CT%3E'class='anchor'></a></h3><divclass='impl-items'><h4id='associatedtype.Output'class="type"><codeid='Output.t'>type <ahref='#associatedtype.Output'class="type">Output</a> = T</code></h4><divclass='docblock'><p>Should always be <code>Self</code></p>
</div></div><h3id='impl-SupersetOf%3CSS%3E'class='impl'><codeclass='in-band'>impl<SS, SP> SupersetOf<SS> for SP <spanclass="where fmt-newline">where<br> SS: SubsetOf<SP>, </span></code><ahref='#impl-SupersetOf%3CSS%3E'class='anchor'></a></h3><divclass='impl-items'><h4id='method.to_subset'class="method hidden"><codeid='to_subset.v'>fn <ahref='#method.to_subset'class='fnname'>to_subset</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><SS></code></h4><divclass='docblock hidden'><p>The inverse inclusion map: attempts to construct <code>self</code> from the equivalent element of its superset. <ahref="#method.to_subset">Read more</a></p>
</div><h4id='method.is_in_subset'class="method hidden"><codeid='is_in_subset.v'>fn <ahref='#method.is_in_subset'class='fnname'>is_in_subset</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></h4><divclass='docblock hidden'><p>Checks if <code>self</code> is actually part of its subset <code>T</code> (and can be converted to it).</p>
</div><h4id='method.to_subset_unchecked'class="method hidden"><codeid='to_subset_unchecked.v'>unsafe fn <ahref='#method.to_subset_unchecked'class='fnname'>to_subset_unchecked</a>(&self) -> SS</code></h4><divclass='docblock hidden'><p>Use with care! Same as <code>self.to_subset</code> but without any property checks. Always succeeds.</p>
</div><h4id='method.from_subset'class="method hidden"><codeid='from_subset.v'>fn <ahref='#method.from_subset'class='fnname'>from_subset</a>(element: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>SS) -> SP</code></h4><divclass='docblock hidden'><p>The inclusion map: converts <code>self</code> to the equivalent element of its superset.</p>
</div></div><h3id='impl-Content'class='impl'><codeclass='in-band'>impl<T> Content for T</code><ahref='#impl-Content'class='anchor'></a></h3><divclass='impl-items'><h4id='method.ref_from_ptr'class="method hidden"><codeid='ref_from_ptr.v'>fn <ahref='#method.ref_from_ptr'class='fnname'>ref_from_ptr</a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><aclass="enum"href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html"title="enum core::ffi::c_void">c_void</a>, size: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut T</a>></code></h4><divclass='docblock hidden'><p>Builds a pointer to this type from a raw pointer.</p>
</div><h4id='method.is_size_suitable'class="method hidden"><codeid='is_size_suitable.v'>fn <ahref='#method.is_size_suitable'class='fnname'>is_size_suitable</a>(size: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></h4><divclass='docblock hidden'><p>Returns true if the size is suitable to store a type like this.</p>
</div><h4id='method.indiv_size'class="method hidden"><codeid='indiv_size.v'>fn <ahref='#method.indiv_size'class='fnname'>indiv_size</a>() -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code></h4><divclass='docblock hidden'><p>Returns the size of an individual element.</p>
</div></div><h3id='impl-Erased'class='impl'><codeclass='in-band'>impl<T> Erased for T</code><ahref='#impl-Erased'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-SafeBorrow%3CT%3E'class='impl'><codeclass='in-band'>impl<T> SafeBorrow<T> for T</code><ahref='#impl-SafeBorrow%3CT%3E'class='anchor'></a></h3><divclass='impl-items'></div></div></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `Vertex2D` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, Vertex2D"><title>sfml_rust::util::vertex_2d::Vertex2D - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct Vertex2D</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#fields">Fields</a><divclass="sidebar-links"><ahref="#structfield.v_position">v_position</a><ahref="#structfield.color">color</a><ahref="#structfield.ti_position">ti_position</a></div><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Copy">Copy</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Vertex">Vertex</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex_2d</a></p><script>window.sidebarCurrent={name:'Vertex2D',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/util/vertex_2d.rs.html#4-8' title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex_2d</a>::<wbr><aclass="struct"href=''>Vertex2D</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct Vertex2D {
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `Vertex3D` struct in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, Vertex3D"><title>sfml_rust::util::vertex::Vertex3D - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct Vertex3D</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#fields">Fields</a><divclass="sidebar-links"><ahref="#structfield.v_position">v_position</a><ahref="#structfield.color">color</a><ahref="#structfield.ti_position">ti_position</a></div><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Copy">Copy</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Vertex">Vertex</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Content">Content</a><ahref="#impl-Erased">Erased</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-SafeBorrow%3CT%3E">SafeBorrow<T></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-SetParameter">SetParameter</a><ahref="#impl-SupersetOf%3CSS%3E">SupersetOf<SS></a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex</a></p><script>window.sidebarCurrent={name:'Vertex3D',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#28-32' title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><ahref='index.html'>vertex</a>::<wbr><aclass="struct"href=''>Vertex3D</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct Vertex3D {
Fields<ahref='#fields'class='anchor'></a></h2><spanid="structfield.v_position"class="structfield small-section-header"><ahref="#structfield.v_position"class="anchor field"></a><codeid="v_position.v">v_position: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a></code></span><spanid="structfield.color"class="structfield small-section-header"><ahref="#structfield.color"class="anchor field"></a><codeid="color.v">color: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a></code></span><spanid="structfield.ti_position"class="structfield small-section-header"><ahref="#structfield.ti_position"class="anchor field"></a><codeid="ti_position.v">ti_position: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code></span><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Default'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html"title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><ahref='#impl-Default'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#27'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.default'class="method hidden"><codeid='default.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html"title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#27'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html"title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#27'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html"title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#27'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method hidden"><codeid='clone_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3id='impl-Copy'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_2d/struct.Vertex2D.html" title="struct sfml_rust::util::vertex_2d::Vertex2D">Vertex2D</a></code><ahref='#impl-Copy'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex_2d.rs.html#3' title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_2d/struct.Vertex2D.html" title="struct sfml_rust::util::vertex_2d::Vertex2D">Vertex2D</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex_2d.rs.html#3' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex_2d.rs.html#3' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Vertex'class='impl'><codeclass='in-band'>impl Vertex for <aclass="struct"href="../../../sfml_rust/util/vertex_2d/struct.Vertex2D.html" title="struct sfml_rust::util::vertex_2d::Vertex2D">Vertex2D</a></code><ahref='#impl-Vertex'class='anchor'></a></h3><divclass='impl-items'><h4id='method.member'class="method hidden"><codeid='member.v'>fn <ahref='#method.member'class='fnname'>member</a>(name: &<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><VertexMemberInfo></code></h4><divclass='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_2d/struct.Vertex2D.html" title="struct sfml_rust::util::vertex_2d::Vertex2D">Vertex2D</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_2d/struct.Vertex2D.html" title="struct sfml_rust::util::vertex_2d::Vertex2D">Vertex2D</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_2d/struct.Vertex2D.html" title="struct sfml_rust::util::vertex_2d::Vertex2D">Vertex2D</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_2d/struct.Vertex2D.html" title="struct sfml_rust::util::vertex_2d::Vertex2D">Vertex2D</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex_2d/struct.Vertex2D.html" title="struct sfml_rust::util::vertex_2d::Vertex2D">Vertex2D</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div></div><h3id='impl-Copy'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><ahref='#impl-Copy'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#27' title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#27' title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../../../src/sfml_rust/util/vertex.rs.html#27' title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Vertex'class='impl'><codeclass='in-band'>impl Vertex for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><ahref='#impl-Vertex'class='anchor'></a></h3><divclass='impl-items'><h4id='method.member'class="method hidden"><codeid='member.v'>fn <ahref='#method.member'class='fnname'>member</a>(name: &<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><VertexMemberInfo></code></h4><divclass='docblock hidden'><p>Returns the characteristics of a vertex member by its name.</p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../../sfml_rust/util/vertex/struct.Vertex3D.html" title="struct sfml_rust::util::vertex::Vertex3D">Vertex3D</a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4id='method.to_owned'class="method hidden"><codeid='to_owned.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned'class='fnname'>to_owned</a>(&self) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4id='method.clone_into'class="method hidden"><codeid='clone_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into'class='fnname'>clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><details><summary><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><divclass='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `vertex_2d` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, vertex_2d"><title>sfml_rust::util::vertex_2d - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module vertex_2d</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a></p><script>window.sidebarCurrent={name:'vertex_2d',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/util/vertex_2d.rs.html#2-10'title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><aclass="mod"href=''>vertex_2d</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.Vertex2D.html"title='sfml_rust::util::vertex_2d::Vertex2D struct'>Vertex2D</a></td><tdclass='docblock-short'><p>Generic vertex 2d with vertex position, texture position and a 32bit color</p>
</td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `vertex_3d` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, vertex_3d"><title>sfml_rust::util::vertex_3d - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module vertex_3d</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a></p><script>window.sidebarCurrent={name:'vertex_3d',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../../src/sfml_rust/util/vertex_3d.rs.html#2-19'title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../../index.html'>sfml_rust</a>::<wbr><ahref='../index.html'>util</a>::<wbr><aclass="mod"href=''>vertex_3d</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.TextVertex3D.html"title='sfml_rust::util::vertex_3d::TextVertex3D struct'>TextVertex3D</a></td><tdclass='docblock-short'><p>Text vertex 3d with vertex position</p>
</td></tr><trclass='module-item'><td><aclass="struct"href="struct.Vertex3D.html"title='sfml_rust::util::vertex_3d::Vertex3D struct'>Vertex3D</a></td><tdclass='docblock-short'><p>Generic vertex 3d with vertex position, texture position and a 32bit color</p>
</td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
initSidebarItems({"struct":[["TextVertex3D","Text vertex 3d with vertex position"],["Vertex3D","Generic vertex 3d with vertex position, texture position and a 32bit color"]]});
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `vkprocessor` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, vkprocessor"><title>sfml_rust::vkprocessor - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptsrc="../../storage.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="shortcut icon"href="../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module vkprocessor</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../index.html'>sfml_rust</a></p><script>window.sidebarCurrent={name:'vkprocessor',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../settings.html"><imgsrc="../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#1-319' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../index.html'>sfml_rust</a>::<wbr><aclass="mod"href=''>vkprocessor</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `vkprocessor` mod in crate `sfml_rust`."><metaname="keywords"content="rust, rustlang, rust-lang, vkprocessor"><title>sfml_rust::vkprocessor - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptsrc="../../storage.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="shortcut icon"href="../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../rust-logo.png'alt='logo'></div></a><pclass='location'>Module vkprocessor</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#structs">Structs</a></li></ul></div><pclass='location'><ahref='../index.html'>sfml_rust</a></p><script>window.sidebarCurrent={name:'vkprocessor',ty:'mod',relpath:'../'};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../settings.html"><imgsrc="../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#1-322' title='goto source code'>[src]</a></span><spanclass='in-band'>Module <ahref='../index.html'>sfml_rust</a>::<wbr><aclass="mod"href=''>vkprocessor</a></span></h1><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
<table><trclass='module-item'><td><aclass="struct"href="struct.VkProcessor.html"title='sfml_rust::vkprocessor::VkProcessor struct'>VkProcessor</a></td><tdclass='docblock-short'><p>VKProcessor holds the vulkan instance information, the swapchain,
and the compute and canvas states</p>
</td></tr></table></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../aliases.js"></script><scriptsrc="../../main.js"></script><scriptdefersrc="../../search-index.js"></script></body></html>
This includes the physical device, queues, compute and canvas state</p>
</div><h4id='method.is_open'class="method"><codeid='is_open.v'>pub fn <ahref='#method.is_open'class='fnname'>is_open</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#92-95'title='goto source code'>[src]</a></h4><divclass='docblock'><p>VKProcessor controls the window. So it will let the main loop know when it is done</p>
</div><h4id='method.create_swapchain'class="method"><codeid='create_swapchain.v'>pub fn <ahref='#method.create_swapchain'class='fnname'>create_swapchain</a>(&mut self, surface: &'a <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><Surface<Window>>)</code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#98-131'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Using the surface, we calculate the surface capabilities and create the swapchain and swapchain images</p>
@ -21,12 +21,12 @@ This includes the physical device, queues, compute and canvas state</p>
</div><h4id='method.preload_fonts'class="method"><codeid='preload_fonts.v'>pub fn <ahref='#method.preload_fonts'class='fnname'>preload_fonts</a>(&mut self)</code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#178-180'title='goto source code'>[src]</a></h4><divclass='docblock'><p>A hardcoded list of shaders which can be proloaded from this function</p>
</div><h4id='method.get_texture_handle'class="method"><codeid='get_texture_handle.v'>pub fn <ahref='#method.get_texture_handle'class='fnname'>get_texture_handle</a>(<br> &self, <br> texture_name: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a><br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../../sfml_rust/canvas/managed/handles/struct.CanvasTextureHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasTextureHandle">CanvasTextureHandle</a>>></code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#183-185'title='goto source code'>[src]</a></h4><divclass='docblock'><p>O(n) Lookup for the matching texture string</p>
</div><h4id='method.get_kernel_handle'class="method"><codeid='get_kernel_handle.v'>pub fn <ahref='#method.get_kernel_handle'class='fnname'>get_kernel_handle</a>(<br> &self, <br> kernel_name: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a><br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../../sfml_rust/compute/managed/handles/struct.CompuKernelHandle.html"title="struct sfml_rust::compute::managed::handles::CompuKernelHandle">CompuKernelHandle</a>>></code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#188-190'title='goto source code'>[src]</a></h4><divclass='docblock'><p>O(n) Lookup for the matching kernel string</p>
</div><h4id='method.get_shader_handle'class="method"><codeid='get_shader_handle.v'>pub fn <ahref='#method.get_shader_handle'class='fnname'>get_shader_handle</a>(<br> &self, <br> shader_name: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a><br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../../sfml_rust/canvas/managed/handles/struct.CompiledGraphicsPipelineHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledGraphicsPipelineHandle">CompiledGraphicsPipelineHandle</a>>></code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#193-195'title='goto source code'>[src]</a></h4><divclass='docblock'><p>O(n) Lookup for the matching shader string</p>
</div><h4id='method.get_shader_handle'class="method"><codeid='get_shader_handle.v'>pub fn <ahref='#method.get_shader_handle'class='fnname'>get_shader_handle</a>(<br> &self, <br> shader_name: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a><br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../../sfml_rust/canvas/managed/handles/struct.CompiledShaderHandle.html" title="struct sfml_rust::canvas::managed::handles::CompiledShaderHandle">CompiledShaderHandle</a>>></code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#193-195'title='goto source code'>[src]</a></h4><divclass='docblock'><p>O(n) Lookup for the matching shader string</p>
</div><h4id='method.get_font_handle'class="method"><codeid='get_font_handle.v'>pub fn <ahref='#method.get_font_handle'class='fnname'>get_font_handle</a>(<br> &self, <br> font_name: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a><br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../../sfml_rust/canvas/managed/handles/struct.CanvasFontHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasFontHandle">CanvasFontHandle</a>>></code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#197-199'title='goto source code'>[src]</a></h4><h4id='method.new_swap_image'class="method"><codeid='new_swap_image.v'>pub fn <ahref='#method.new_swap_image'class='fnname'>new_swap_image</a>(<br> &mut self, <br> dimensions: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a><br>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../../sfml_rust/canvas/managed/handles/struct.CanvasImageHandle.html"title="struct sfml_rust::canvas::managed::handles::CanvasImageHandle">CanvasImageHandle</a>></code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#202-208'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Create a new image which has the transfer usage</p>
</div><h4id='method.read_compute_buffer'class="method"><codeid='read_compute_buffer.v'>pub fn <ahref='#method.read_compute_buffer'class='fnname'>read_compute_buffer</a>(&mut self, handle: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../../sfml_rust/compute/managed/handles/struct.CompuBufferHandle.html"title="struct sfml_rust::compute::managed::handles::CompuBufferHandle">CompuBufferHandle</a>>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#216-218'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Takes a compute buffer handle and returns the read data</p>
</div><h4id='method.write_compute_buffer'class="method"><codeid='write_compute_buffer.v'>pub fn <ahref='#method.write_compute_buffer'class='fnname'>write_compute_buffer</a>(<br> &self, <br> handle: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../../sfml_rust/compute/managed/handles/struct.CompuBufferHandle.html"title="struct sfml_rust::compute::managed::handles::CompuBufferHandle">CompuBufferHandle</a>>, <br> data: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>><br>)</code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#221-223'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Takes a compute buffer handle and writes the received data</p>
</div><h4id='method.run'class="method"><codeid='run.v'>pub fn <ahref='#method.run'class='fnname'>run</a>(<br> &mut self, <br> surface: &'a <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><Surface<Window>>, <br> canvas_frame: <aclass="struct"href="../../sfml_rust/canvas/canvas_frame/struct.CanvasFrame.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrame">CanvasFrame</a>, <br> compute_frame: <aclass="struct"href="../../sfml_rust/compute/compu_frame/struct.CompuFrame.html"title="struct sfml_rust::compute::compu_frame::CompuFrame">CompuFrame</a><br>)</code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#226-318' title='goto source code'>[src]</a></h4><divclass='docblock'></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../sfml_rust/vkprocessor/struct.VkProcessor.html"title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a><'a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../sfml_rust/vkprocessor/struct.VkProcessor.html"title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a><'a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../sfml_rust/vkprocessor/struct.VkProcessor.html"title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a><'a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../sfml_rust/vkprocessor/struct.VkProcessor.html"title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a><'a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../sfml_rust/vkprocessor/struct.VkProcessor.html"title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a><'a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-Into%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></code><ahref='#impl-Into%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.into'class="method hidden"><codeid='into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into'class='fnname'>into</a>(self) -> U</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div><h4id='method.run'class="method"><codeid='run.v'>pub fn <ahref='#method.run'class='fnname'>run</a>(<br> &mut self, <br> surface: &'a <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><Surface<Window>>, <br> canvas_frame: <aclass="struct"href="../../sfml_rust/canvas/canvas_frame/struct.CanvasFrameTest.html" title="struct sfml_rust::canvas::canvas_frame::CanvasFrameTest">CanvasFrameTest</a>, <br> compute_frame: <aclass="struct"href="../../sfml_rust/compute/compu_frame/struct.CompuFrame.html"title="struct sfml_rust::compute::compu_frame::CompuFrame">CompuFrame</a><br>)</code><aclass='srclink'href='../../src/sfml_rust/vkprocessor.rs.html#226-321' title='goto source code'>[src]</a></h4><divclass='docblock'></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><codeclass='in-band'>impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../sfml_rust/vkprocessor/struct.VkProcessor.html"title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a><'a></code><ahref='#impl-Send'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Unpin'class='impl'><codeclass='in-band'>impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../sfml_rust/vkprocessor/struct.VkProcessor.html"title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a><'a></code><ahref='#impl-Unpin'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><codeclass='in-band'>impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../sfml_rust/vkprocessor/struct.VkProcessor.html"title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a><'a></code><ahref='#impl-Sync'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-UnwindSafe'class='impl'><codeclass='in-band'>impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../sfml_rust/vkprocessor/struct.VkProcessor.html"title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a><'a></code><ahref='#impl-UnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div><h3id='impl-RefUnwindSafe'class='impl'><codeclass='in-band'>impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../sfml_rust/vkprocessor/struct.VkProcessor.html"title="struct sfml_rust::vkprocessor::VkProcessor">VkProcessor</a><'a></code><ahref='#impl-RefUnwindSafe'class='anchor'></a></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-Into%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></code><ahref='#impl-Into%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.into'class="method hidden"><codeid='into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into'class='fnname'>into</a>(self) -> U</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-From%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for T</code><ahref='#impl-From%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.from'class="method hidden"><codeid='from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from'class='fnname'>from</a>(t: T) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryFrom%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></code><ahref='#impl-TryFrom%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error'class="type"><codeid='Error.t'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error'class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_from'class="method hidden"><codeid='try_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from'class='fnname'>try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptsrc="../../../source-script.js"></script><scriptsrc="../../../source-files.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
</section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptsrc="../../../source-script.js"></script><scriptsrc="../../../source-files.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
</section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../../aliases.js"></script><scriptsrc="../../../../main.js"></script><scriptsrc="../../../../source-script.js"></script><scriptsrc="../../../../source-files.js"></script><scriptdefersrc="../../../../search-index.js"></script></body></html>
(<spanclass="op">-</span><spanclass="number">0.0</span>, <spanclass="op">-</span><spanclass="number">0.0</span>), <spanclass="comment">// top left</span>
(<spanclass="op">-</span><spanclass="number">0.0</span>, <spanclass="op">-</span><spanclass="number">0.0</span>), <spanclass="comment">// top left</span>
(<spanclass="op">-</span><spanclass="number">0.0</span>, <spanclass="op">-</span><spanclass="number">0.0</span>), <spanclass="comment">// top left</span>
(<spanclass="op">-</span><spanclass="number">0.0</span>, <spanclass="op">-</span><spanclass="number">0.0</span>), <spanclass="comment">// top left</span>
</section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../aliases.js"></script><scriptsrc="../../main.js"></script><scriptsrc="../../source-script.js"></script><scriptsrc="../../source-files.js"></script><scriptdefersrc="../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="Source to the Rust file `src/util/vertex.rs`."><metaname="keywords"content="rust, rustlang, rust-lang"><title>vertex.rs.html -- source</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc source"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><preclass="line-numbers"><spanid="1"> 1</span>
</section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptsrc="../../../source-script.js"></script><scriptsrc="../../../source-files.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="Source to the Rust file `src/util/vertex_2d.rs`."><metaname="keywords"content="rust, rustlang, rust-lang"><title>vertex_2d.rs.html -- source</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc source"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><preclass="line-numbers"><spanid="1"> 1</span>
<spanid="2"> 2</span>
<spanid="3"> 3</span>
<spanid="4"> 4</span>
<spanid="5"> 5</span>
<spanid="6"> 6</span>
<spanid="7"> 7</span>
<spanid="8"> 8</span>
<spanid="9"> 9</span>
<spanid="10">10</span>
</pre><divclass="example-wrap"><preclass="rust ">
<spanclass="doccomment">/// Generic vertex 2d with vertex position, texture position and a 32bit color</span>
</section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptsrc="../../../source-script.js"></script><scriptsrc="../../../source-files.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="Source to the Rust file `src/util/vertex_3d.rs`."><metaname="keywords"content="rust, rustlang, rust-lang"><title>vertex_3d.rs.html -- source</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="shortcut icon"href="../../../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><bodyclass="rustdoc source"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../../sfml_rust/index.html'><divclass='logo-container'><imgsrc='../../../rust-logo.png'alt='logo'></div></a></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><preclass="line-numbers"><spanid="1"> 1</span>
<spanid="2"> 2</span>
<spanid="3"> 3</span>
<spanid="4"> 4</span>
<spanid="5"> 5</span>
<spanid="6"> 6</span>
<spanid="7"> 7</span>
<spanid="8"> 8</span>
<spanid="9"> 9</span>
<spanid="10">10</span>
<spanid="11">11</span>
<spanid="12">12</span>
<spanid="13">13</span>
<spanid="14">14</span>
<spanid="15">15</span>
<spanid="16">16</span>
<spanid="17">17</span>
<spanid="18">18</span>
<spanid="19">19</span>
<spanid="20">20</span>
</pre><divclass="example-wrap"><preclass="rust ">
<spanclass="doccomment">/// Generic vertex 3d with vertex position, texture position and a 32bit color</span>
</section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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>⏎</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><divclass="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><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptsrc="../../../source-script.js"></script><scriptsrc="../../../source-files.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>
Canvas frame is at it's core, an accumulator of meta data to draw to the screen.
At the moment it is split up into these groups:
In reality it is a fairly inneficient accumulator of `enum VertexType`s. This enum is the only real way I found to preserve type safety when passing dynamic amounts of differently typed data
* Colored items like non-textured sprites are just a list of triangles, simple vertices.
@todo
* Textured are grouped by their texture handle. Currently implemented as a list of lists of vertices. I don't think the vertices need to be grouped by sprite as long as they are triangle lists with texture coords included in the definition
* Images are just the same as Textured
* Text is a simple Font->Glyph lookup. XY coords of the font and the ASCII code
Cool enough, we can enforce the handle type as well using this
===== Future =====
I like this immediate interface for this simple style of UI and drawing.
@todo finish this
Now. The CanvasFrame is closely coupled with the Drawable trait, the object which allows CanvasFrame to ingest all drawable object on a single interface
Drawable needs a few things:
Handle to the Texture or Image it is using
Vertices describing it
(vertices will be character data for text)
Instances?
The handle is queiried and then turned into a descriptor set in the draw_commands.
* What if I pass using function params? But then how do I store???
==== Problem ====
I need to store vectors of multiple unequal types in a vec
vec<vec<T>>
I like this immediate interface for this simple style of UI and drawing. Unless I need some other sort of data or data which has links to other data, I don't see any interface being much better.