[][src]Struct vulkayes_core::render_pass::params::SubpassDescription

#[repr(transparent)]pub struct SubpassDescription<'a> { /* fields omitted */ }

Wrapper struct that is transparent vk::SubpassDescriptionBuilder.

Implementations

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

pub const unsafe fn from_raw(builder: SubpassDescriptionBuilder<'a>) -> Self[src]

pub fn new(
    input_attachments: Option<&'a [AttachmentReference]>,
    color_resolve_attachments: Option<(&'a [AttachmentReference], Option<&'a [AttachmentReference]>)>,
    depth_stencil_attachment: Option<&'a AttachmentReference>,
    preserve_attachments: Option<&'a [u32]>
) -> Result<Self, SubpassDescriptionError>
[src]

Methods from Deref<Target = SubpassDescriptionBuilder<'a>>

Methods from Deref<Target = SubpassDescription>

Trait Implementations

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

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

type Target = SubpassDescriptionBuilder<'a>

The resulting type after dereferencing.

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

impl<'a> Transparent for SubpassDescription<'a>[src]

type Target = SubpassDescriptionBuilder<'a>

impl<'a, I, CR, P> TryFrom<&'a SubpassDescriptionHolder<I, CR, P>> for SubpassDescription<'a> where
    I: AsRef<[AttachmentReference]>,
    CR: AsRef<[AttachmentReference]>,
    P: AsRef<[u32]>, 
[src]

type Error = SubpassDescriptionError

The type returned in the event of a conversion error.

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, 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.