Struct erupt::vk1_2::AttachmentReference2Builder[][src]

#[repr(transparent)]pub struct AttachmentReference2Builder<'a>(_, _);

Implementations

impl<'a> AttachmentReference2Builder<'a>[src]

pub fn new() -> AttachmentReference2Builder<'a>[src]

pub fn attachment(self, attachment: u32) -> Self[src]

pub fn layout(self, layout: ImageLayout) -> Self[src]

pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self[src]

pub fn build(self) -> AttachmentReference2[src]

Discards all lifetime information. Use the Deref and DerefMut implementations if possible.

Methods from Deref<Target = AttachmentReference2>

Trait Implementations

impl<'a> Clone for AttachmentReference2Builder<'a>[src]

impl<'a> Copy for AttachmentReference2Builder<'a>[src]

impl<'a> Debug for AttachmentReference2Builder<'a>[src]

impl<'a> Default for AttachmentReference2Builder<'a>[src]

impl<'a> Deref for AttachmentReference2Builder<'a>[src]

type Target = AttachmentReference2

The resulting type after dereferencing.

impl<'a> DerefMut for AttachmentReference2Builder<'a>[src]

impl<'a> ExtendableFrom<'a, AttachmentReferenceStencilLayout> for AttachmentReference2Builder<'a>[src]

impl<'a> ExtendableFrom<'a, AttachmentReferenceStencilLayoutBuilder<'_>> for AttachmentReference2Builder<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.