Struct vulkano::descriptor_set::DescriptorSetWithOffsets
source · pub struct DescriptorSetWithOffsets { /* private fields */ }
Implementations§
source§impl DescriptorSetWithOffsets
impl DescriptorSetWithOffsets
pub fn new( descriptor_set: Arc<dyn DescriptorSet>, dynamic_offsets: impl IntoIterator<Item = u32> ) -> Self
pub fn as_ref(&self) -> (&Arc<dyn DescriptorSet>, &[u32])
pub fn into_tuple( self ) -> (Arc<dyn DescriptorSet>, impl ExactSizeIterator<Item = u32>)
Trait Implementations§
source§impl Clone for DescriptorSetWithOffsets
impl Clone for DescriptorSetWithOffsets
source§fn clone(&self) -> DescriptorSetWithOffsets
fn clone(&self) -> DescriptorSetWithOffsets
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<S> From<Arc<S>> for DescriptorSetWithOffsetswhere
S: DescriptorSet + 'static,
impl<S> From<Arc<S>> for DescriptorSetWithOffsetswhere S: DescriptorSet + 'static,
Auto Trait Implementations§
impl !RefUnwindSafe for DescriptorSetWithOffsets
impl Send for DescriptorSetWithOffsets
impl Sync for DescriptorSetWithOffsets
impl Unpin for DescriptorSetWithOffsets
impl !UnwindSafe for DescriptorSetWithOffsets
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more