|
|
|
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Layout` struct in crate `shade_runner`."><meta name="keywords" content="rust, rustlang, rust-lang, Layout"><title>shade_runner::layouts::Layout - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../shade_runner/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct Layout</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.layout_data">layout_data</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-PipelineLayoutDesc">PipelineLayoutDesc</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-Content">Content</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-PipelineLayoutDesc">PipelineLayoutDesc</a><a href="#impl-PipelineLayoutPushConstantsCompatible%3CU%3E">PipelineLayoutPushConstantsCompatible<U></a><a href="#impl-PipelineLayoutSetsCompatible%3CU%3E">PipelineLayoutSetsCompatible<U></a><a href="#impl-PipelineLayoutSuperset%3CU%3E">PipelineLayoutSuperset<U></a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><p class='location'><a href='../index.html'>shade_runner</a>::<wbr><a href='index.html'>layouts</a></p><script>window.sidebarCurrent = {name: 'Layout', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a><
|
|
|
|
|
pub layout_data: <a class="struct" href="../../shade_runner/struct.LayoutData.html" title="struct shade_runner::LayoutData">LayoutData</a>,
|
|
|
|
|
}</pre></div><h2 id='fields' class='fields small-section-header'>
|
|
|
|
|
Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.layout_data" class="structfield small-section-header"><a href="#structfield.layout_data" class="anchor field"></a><code id="layout_data.v">layout_data: <a class="struct" href="../../shade_runner/struct.LayoutData.html" title="struct shade_runner::LayoutData">LayoutData</a></code></span><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Default' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../shade_runner/layouts/struct.Layout.html" title="struct shade_runner::layouts::Layout">Layout</a></code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../../src/shade_runner/layouts.rs.html#45' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -> <a class="struct" href="../../shade_runner/layouts/struct.Layout.html" title="struct shade_runner::layouts::Layout">Layout</a></code><a class='srclink' href='../../src/shade_runner/layouts.rs.html#45' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the "default value" for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
|
|
|
|
|
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../shade_runner/layouts/struct.Layout.html" title="struct shade_runner::layouts::Layout">Layout</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../src/shade_runner/layouts.rs.html#45' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../../shade_runner/layouts/struct.Layout.html" title="struct shade_runner::layouts::Layout">Layout</a></code><a class='srclink' href='../../src/shade_runner/layouts.rs.html#45' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
|
|
|
|
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../shade_runner/layouts/struct.Layout.html" title="struct shade_runner::layouts::Layout">Layout</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../src/shade_runner/layouts.rs.html#45' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../src/shade_runner/layouts.rs.html#45' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
|
|
|
|
|
</div></div><h3 id='impl-PipelineLayoutDesc' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html" title="trait vulkano::descriptor::pipeline_layout::traits::PipelineLayoutDesc">PipelineLayoutDesc</a> for <a class="struct" href="../../shade_runner/layouts/struct.Layout.html" title="struct shade_runner::layouts::Layout">Layout</a></code><a href='#impl-PipelineLayoutDesc' class='anchor'></a><a class='srclink' href='../../src/shade_runner/layouts.rs.html#60-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.num_sets' class="method hidden"><code id='num_sets.v'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.num_sets' class='fnname'>num_sets</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/shade_runner/layouts.rs.html#61-63' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the number of sets in the layout. Includes possibly empty sets. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.num_sets">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.num_bindings_in_set' class="method hidden"><code id='num_bindings_in_set.v'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.num_bindings_in_set' class='fnname'>num_bindings_in_set</a>(&self, set: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>></code><a class='srclink' href='../../src/shade_runner/layouts.rs.html#64-66' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the number of descriptors in the set. Includes possibly empty descriptors. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.num_bindings_in_set">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.descriptor' class="method hidden"><code id='descriptor.v'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.descriptor' class='fnname'>descriptor</a>(&self, set: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, binding: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../vulkano/descriptor/descriptor/struct.DescriptorDesc.html" title="struct vulkano::descriptor::descriptor::DescriptorDesc">DescriptorDesc</a>></code><a class='srclink' href='../../src/shade_runner/layouts.rs.html#67-76' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the descriptor for the given binding of the given set. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.descriptor">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.num_push_constants_ranges' class="method hidden"><code id='num_push_constants_ranges.v'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.num_push_constants_ranges' class='fnname'>num_push_constants_ranges</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/shade_runner/layouts.rs.html#77-79' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the number of push constant ranges of the layout.</p>
|
|
|
|
|
</div><h4 id='method.push_constants_range' class="method hidden"><code id='push_constants_range.v'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.push_constants_range' class='fnname'>push_constants_range</a>(&self, num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../vulkano/descriptor/pipeline_layout/traits/struct.PipelineLayoutDescPcRange.html" title="struct vulkano::descriptor::pipeline_layout::traits::PipelineLayoutDescPcRange">PipelineLayoutDescPcRange</a>></code><a class='srclink' href='../../src/shade_runner/layouts.rs.html#80-88' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a description of the given push constants range. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.push_constants_range">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.provided_set_layout' class="method hidden"><code id='provided_set_layout.v'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.provided_set_layout' class='fnname'>provided_set_layout</a>(<br> &self, <br> _set: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><<a class="struct" href="../../vulkano/descriptor/descriptor_set/unsafe_layout/struct.UnsafeDescriptorSetLayout.html" title="struct vulkano::descriptor::descriptor_set::unsafe_layout::UnsafeDescriptorSetLayout">UnsafeDescriptorSetLayout</a>>></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#79-81' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>If the <code>PipelineLayoutDesc</code> implementation is able to provide an existing <code>UnsafeDescriptorSetLayout</code> for a given set, it can do so by returning it here. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.provided_set_layout">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.union' class="method hidden"><code id='union.v'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.union' class='fnname'>union</a><T>(self, other: T) -> <a class="struct" href="../../vulkano/descriptor/pipeline_layout/union/struct.PipelineLayoutDescUnion.html" title="struct vulkano::descriptor::pipeline_layout::union::PipelineLayoutDescUnion">PipelineLayoutDescUnion</a><Self, T></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#98-102' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Builds the union of this layout and another.</p>
|
|
|
|
|
</div><h4 id='method.check_against_limits' class="method hidden"><code id='check_against_limits.v'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.check_against_limits' class='fnname'>check_against_limits</a>(<br> &self, <br> device: &<a class="struct" href="../../vulkano/device/struct.Device.html" title="struct vulkano::device::Device">Device</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../vulkano/descriptor/pipeline_layout/limits_check/enum.PipelineLayoutLimitsError.html" title="enum vulkano::descriptor::pipeline_layout::limits_check::PipelineLayoutLimitsError">PipelineLayoutLimitsError</a>></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#106-109' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Checks whether this description fulfills the device limits requirements.</p>
|
|
|
|
|
</div><h4 id='method.build' class="method hidden"><code id='build.v'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.build' class='fnname'>build</a>(<br> self, <br> device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><<a class="struct" href="../../vulkano/device/struct.Device.html" title="struct vulkano::device::Device">Device</a>><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../vulkano/descriptor/pipeline_layout/sys/struct.PipelineLayout.html" title="struct vulkano::descriptor::pipeline_layout::sys::PipelineLayout">PipelineLayout</a><Self>, <a class="enum" href="../../vulkano/descriptor/pipeline_layout/sys/enum.PipelineLayoutCreationError.html" title="enum vulkano::descriptor::pipeline_layout::sys::PipelineLayoutCreationError">PipelineLayoutCreationError</a>></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#115-119' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Turns the layout description into a <code>PipelineLayout</code> object that can be used by Vulkan. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.build">Read more</a></p>
|
|
|
|
|
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../shade_runner/layouts/struct.Layout.html" title="struct shade_runner::layouts::Layout">Layout</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../shade_runner/layouts/struct.Layout.html" title="struct shade_runner::layouts::Layout">Layout</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../shade_runner/layouts/struct.Layout.html" title="struct shade_runner::layouts::Layout">Layout</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../shade_runner/layouts/struct.Layout.html" title="struct shade_runner::layouts::Layout">Layout</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../shade_runner/layouts/struct.Layout.html" title="struct shade_runner::layouts::Layout">Layout</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
|
|
|
|
|
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&self) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
|
|
|
|
|
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
|
|
|
|
|
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -> U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
|
|
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
|
|
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
|
|
|
|
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
|
|
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
|
|
|
|
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
|
|
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
|
|
|
|
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
|
|
|
|
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
|
|
|
|
</div></div><h3 id='impl-Content' class='impl'><code class='in-band'>impl<T> <a class="trait" href="../../vulkano/memory/trait.Content.html" title="trait vulkano::memory::Content">Content</a> for T</code><a href='#impl-Content' class='anchor'></a><a class='srclink' href='../../src/vulkano/memory/mod.rs.html#171-190' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ref_from_ptr' class="method hidden"><code id='ref_from_ptr.v'>fn <a href='../../vulkano/memory/trait.Content.html#tymethod.ref_from_ptr' class='fnname'>ref_from_ptr</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a>, size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut T</a>></code><a class='srclink' href='../../src/vulkano/memory/mod.rs.html#173-179' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Builds a pointer to this type from a raw pointer.</p>
|
|
|
|
|
</div><h4 id='method.is_size_suitable' class="method hidden"><code id='is_size_suitable.v'>fn <a href='../../vulkano/memory/trait.Content.html#tymethod.is_size_suitable' class='fnname'>is_size_suitable</a>(size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/vulkano/memory/mod.rs.html#182-184' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns true if the size is suitable to store a type like this.</p>
|
|
|
|
|
</div><h4 id='method.indiv_size' class="method hidden"><code id='indiv_size.v'>fn <a href='../../vulkano/memory/trait.Content.html#tymethod.indiv_size' class='fnname'>indiv_size</a>() -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/vulkano/memory/mod.rs.html#187-189' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the size of an individual element.</p>
|
|
|
|
|
</div></div><h3 id='impl-PipelineLayoutDesc-1' class='impl'><code class='in-band'>impl<T> <a class="trait" href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html" title="trait vulkano::descriptor::pipeline_layout::traits::PipelineLayoutDesc">PipelineLayoutDesc</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="../../vulkano/trait.SafeDeref.html" title="trait vulkano::SafeDeref">SafeDeref</a>,<br> <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a>: <a class="trait" href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html" title="trait vulkano::descriptor::pipeline_layout::traits::PipelineLayoutDesc">PipelineLayoutDesc</a>, </span></code><a href='#impl-PipelineLayoutDesc-1' class='anchor'></a><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#135-163' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.num_sets-1' class="method hidden"><code id='num_sets.v-1'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.num_sets' class='fnname'>num_sets</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#140-142' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the number of sets in the layout. Includes possibly empty sets. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.num_sets">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.num_bindings_in_set-1' class="method hidden"><code id='num_bindings_in_set.v-1'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.num_bindings_in_set' class='fnname'>num_bindings_in_set</a>(&self, set: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#145-147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the number of descriptors in the set. Includes possibly empty descriptors. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.num_bindings_in_set">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.descriptor-1' class="method hidden"><code id='descriptor.v-1'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.descriptor' class='fnname'>descriptor</a>(&self, set: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, binding: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../vulkano/descriptor/descriptor/struct.DescriptorDesc.html" title="struct vulkano::descriptor::descriptor::DescriptorDesc">DescriptorDesc</a>></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#150-152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the descriptor for the given binding of the given set. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.descriptor">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.num_push_constants_ranges-1' class="method hidden"><code id='num_push_constants_ranges.v-1'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.num_push_constants_ranges' class='fnname'>num_push_constants_ranges</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#155-157' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the number of push constant ranges of the layout.</p>
|
|
|
|
|
</div><h4 id='method.push_constants_range-1' class="method hidden"><code id='push_constants_range.v-1'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.push_constants_range' class='fnname'>push_constants_range</a>(&self, num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../vulkano/descriptor/pipeline_layout/traits/struct.PipelineLayoutDescPcRange.html" title="struct vulkano::descriptor::pipeline_layout::traits::PipelineLayoutDescPcRange">PipelineLayoutDescPcRange</a>></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#160-162' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a description of the given push constants range. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#tymethod.push_constants_range">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.provided_set_layout-1' class="method hidden"><code id='provided_set_layout.v-1'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.provided_set_layout' class='fnname'>provided_set_layout</a>(<br> &self, <br> _set: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><<a class="struct" href="../../vulkano/descriptor/descriptor_set/unsafe_layout/struct.UnsafeDescriptorSetLayout.html" title="struct vulkano::descriptor::descriptor_set::unsafe_layout::UnsafeDescriptorSetLayout">UnsafeDescriptorSetLayout</a>>></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#79-81' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>If the <code>PipelineLayoutDesc</code> implementation is able to provide an existing <code>UnsafeDescriptorSetLayout</code> for a given set, it can do so by returning it here. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.provided_set_layout">Read more</a></p>
|
|
|
|
|
</div><h4 id='method.union-1' class="method hidden"><code id='union.v-1'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.union' class='fnname'>union</a><T>(self, other: T) -> <a class="struct" href="../../vulkano/descriptor/pipeline_layout/union/struct.PipelineLayoutDescUnion.html" title="struct vulkano::descriptor::pipeline_layout::union::PipelineLayoutDescUnion">PipelineLayoutDescUnion</a><Self, T></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#98-102' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Builds the union of this layout and another.</p>
|
|
|
|
|
</div><h4 id='method.check_against_limits-1' class="method hidden"><code id='check_against_limits.v-1'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.check_against_limits' class='fnname'>check_against_limits</a>(<br> &self, <br> device: &<a class="struct" href="../../vulkano/device/struct.Device.html" title="struct vulkano::device::Device">Device</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../vulkano/descriptor/pipeline_layout/limits_check/enum.PipelineLayoutLimitsError.html" title="enum vulkano::descriptor::pipeline_layout::limits_check::PipelineLayoutLimitsError">PipelineLayoutLimitsError</a>></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#106-109' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Checks whether this description fulfills the device limits requirements.</p>
|
|
|
|
|
</div><h4 id='method.build-1' class="method hidden"><code id='build.v-1'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.build' class='fnname'>build</a>(<br> self, <br> device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><<a class="struct" href="../../vulkano/device/struct.Device.html" title="struct vulkano::device::Device">Device</a>><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../vulkano/descriptor/pipeline_layout/sys/struct.PipelineLayout.html" title="struct vulkano::descriptor::pipeline_layout::sys::PipelineLayout">PipelineLayout</a><Self>, <a class="enum" href="../../vulkano/descriptor/pipeline_layout/sys/enum.PipelineLayoutCreationError.html" title="enum vulkano::descriptor::pipeline_layout::sys::PipelineLayoutCreationError">PipelineLayoutCreationError</a>></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#115-119' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Turns the layout description into a <code>PipelineLayout</code> object that can be used by Vulkan. <a href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html#method.build">Read more</a></p>
|
|
|
|
|
</div></div><h3 id='impl-PipelineLayoutPushConstantsCompatible%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutPushConstantsCompatible.html" title="trait vulkano::descriptor::pipeline_layout::traits::PipelineLayoutPushConstantsCompatible">PipelineLayoutPushConstantsCompatible</a><U> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html" title="trait vulkano::descriptor::pipeline_layout::traits::PipelineLayoutDesc">PipelineLayoutDesc</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> U: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-PipelineLayoutPushConstantsCompatible%3CU%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#321-328' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_compatible' class="method hidden"><code id='is_compatible.v'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutPushConstantsCompatible.html#tymethod.is_compatible' class='fnname'>is_compatible</a>(&self, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>U) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#324-327' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns true if <code>Pc</code> can be used with a pipeline that uses <code>self</code> as layout.</p>
|
|
|
|
|
</div></div><h3 id='impl-PipelineLayoutSuperset%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutSuperset.html" title="trait vulkano::descriptor::pipeline_layout::traits::PipelineLayoutSuperset">PipelineLayoutSuperset</a><U> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html" title="trait vulkano::descriptor::pipeline_layout::traits::PipelineLayoutDesc">PipelineLayoutDesc</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> U: <a class="trait" href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html" title="trait vulkano::descriptor::pipeline_layout::traits::PipelineLayoutDesc">PipelineLayoutDesc</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-PipelineLayoutSuperset%3CU%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#176-218' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_superset_of' class="method hidden"><code id='ensure_superset_of.v'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutSuperset.html#tymethod.ensure_superset_of' class='fnname'>ensure_superset_of</a>(<br> &self, <br> other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>U<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../vulkano/descriptor/pipeline_layout/traits/enum.PipelineLayoutNotSupersetError.html" title="enum vulkano::descriptor::pipeline_layout::traits::PipelineLayoutNotSupersetError">PipelineLayoutNotSupersetError</a>></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#180-217' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Makes sure that <code>self</code> is a superset of <code>Other</code>. Returns an <code>Err</code> if this is not the case.</p>
|
|
|
|
|
</div></div><h3 id='impl-PipelineLayoutSetsCompatible%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutSetsCompatible.html" title="trait vulkano::descriptor::pipeline_layout::traits::PipelineLayoutSetsCompatible">PipelineLayoutSetsCompatible</a><U> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutDesc.html" title="trait vulkano::descriptor::pipeline_layout::traits::PipelineLayoutDesc">PipelineLayoutDesc</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> U: <a class="trait" href="../../vulkano/descriptor/descriptor_set/collection/trait.DescriptorSetsCollection.html" title="trait vulkano::descriptor::descriptor_set::collection::DescriptorSetsCollection">DescriptorSetsCollection</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-PipelineLayoutSetsCompatible%3CU%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#283-311' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_compatible-1' class="method hidden"><code id='is_compatible.v-1'>fn <a href='../../vulkano/descriptor/pipeline_layout/traits/trait.PipelineLayoutSetsCompatible.html#tymethod.is_compatible' class='fnname'>is_compatible</a>(&self, sets: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>U) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/vulkano/descriptor/pipeline_layout/traits.rs.html#287-310' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns true if <code>Other</code> can be used with a pipeline that uses <code>self</code> as layout.</p>
|
|
|
|
|
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><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><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "shade_runner";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|