Struct erupt::vk1_0::AttachmentDescriptionBuilder
source · #[repr(transparent)]pub struct AttachmentDescriptionBuilder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of AttachmentDescription
Implementations
sourceimpl<'a> AttachmentDescriptionBuilder<'a>
impl<'a> AttachmentDescriptionBuilder<'a>
pub fn new() -> AttachmentDescriptionBuilder<'a>
pub fn flags(self, flags: AttachmentDescriptionFlags) -> Self
pub fn format(self, format: Format) -> Self
pub fn samples(self, samples: SampleCountFlagBits) -> Self
pub fn load_op(self, load_op: AttachmentLoadOp) -> Self
pub fn store_op(self, store_op: AttachmentStoreOp) -> Self
pub fn stencil_load_op(self, stencil_load_op: AttachmentLoadOp) -> Self
pub fn stencil_store_op(self, stencil_store_op: AttachmentStoreOp) -> Self
pub fn initial_layout(self, initial_layout: ImageLayout) -> Self
pub fn final_layout(self, final_layout: ImageLayout) -> Self
pub fn build(self) -> AttachmentDescription
Trait Implementations
sourceimpl<'a> Clone for AttachmentDescriptionBuilder<'a>
impl<'a> Clone for AttachmentDescriptionBuilder<'a>
sourcefn clone(&self) -> AttachmentDescriptionBuilder<'a>
fn clone(&self) -> AttachmentDescriptionBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for AttachmentDescriptionBuilder<'a>
impl<'a> Debug for AttachmentDescriptionBuilder<'a>
sourceimpl<'a> Default for AttachmentDescriptionBuilder<'a>
impl<'a> Default for AttachmentDescriptionBuilder<'a>
sourcefn default() -> AttachmentDescriptionBuilder<'a>
fn default() -> AttachmentDescriptionBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for AttachmentDescriptionBuilder<'a>
impl<'a> Deref for AttachmentDescriptionBuilder<'a>
type Target = AttachmentDescription
type Target = AttachmentDescription
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for AttachmentDescriptionBuilder<'a>
impl<'a> DerefMut for AttachmentDescriptionBuilder<'a>
impl<'a> Copy for AttachmentDescriptionBuilder<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AttachmentDescriptionBuilder<'a>
impl<'a> Send for AttachmentDescriptionBuilder<'a>
impl<'a> Sync for AttachmentDescriptionBuilder<'a>
impl<'a> Unpin for AttachmentDescriptionBuilder<'a>
impl<'a> UnwindSafe for AttachmentDescriptionBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more