pub struct DescriptorImageInfo<'r>(/* private fields */);
Implementations§
Source§impl<'r> DescriptorImageInfo<'r>
impl<'r> DescriptorImageInfo<'r>
pub fn new( r: &'r (impl VkHandle<Handle = VkImageView> + ?Sized), layout: ImageLayout, ) -> Self
pub const fn unbounded(h: VkImageView, layout: ImageLayout) -> Self
pub fn with_sampler( self, sampler: &'r (impl VkHandle<Handle = VkSampler> + ?Sized), ) -> Self
pub const fn with_unbounded_sampler(self, sampler: VkSampler) -> Self
Trait Implementations§
Source§impl<'r> Clone for DescriptorImageInfo<'r>
impl<'r> Clone for DescriptorImageInfo<'r>
Source§fn clone(&self) -> DescriptorImageInfo<'r>
fn clone(&self) -> DescriptorImageInfo<'r>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<'r> Freeze for DescriptorImageInfo<'r>
impl<'r> !RefUnwindSafe for DescriptorImageInfo<'r>
impl<'r> !Send for DescriptorImageInfo<'r>
impl<'r> !Sync for DescriptorImageInfo<'r>
impl<'r> Unpin for DescriptorImageInfo<'r>
impl<'r> !UnwindSafe for DescriptorImageInfo<'r>
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