pub struct DescriptorImageInfo<'a> {
pub sampler: Option<BorrowedHandle<'a, Sampler>>,
pub image_view: Option<BorrowedHandle<'a, ImageView>>,
pub image_layout: ImageLayout,
/* private fields */
}Expand description
Fields§
§sampler: Option<BorrowedHandle<'a, Sampler>>§image_view: Option<BorrowedHandle<'a, ImageView>>§image_layout: ImageLayoutImplementations§
Source§impl<'a> DescriptorImageInfo<'a>
impl<'a> DescriptorImageInfo<'a>
pub fn sampler(self, value: Option<&'a Sampler>) -> Self
pub fn image_view(self, value: Option<&'a ImageView>) -> Self
pub fn image_layout(self, value: ImageLayout) -> Self
Trait Implementations§
Source§impl<'a> Default for DescriptorImageInfo<'a>
impl<'a> Default for DescriptorImageInfo<'a>
impl<'a> Send for DescriptorImageInfo<'a>
impl<'a> Sync for DescriptorImageInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for DescriptorImageInfo<'a>
impl<'a> RefUnwindSafe for DescriptorImageInfo<'a>
impl<'a> Unpin for DescriptorImageInfo<'a>
impl<'a> UnwindSafe for DescriptorImageInfo<'a>
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