[−][src]Struct vulkayes_core::render_pass::params::SubpassDescription
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]
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>
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.
fn deref(&self) -> &Self::Target
[src]
impl<'a> DerefMut for SubpassDescription<'a>
[src]
impl<'a> Transparent for SubpassDescription<'a>
[src]
type Target = SubpassDescriptionBuilder<'a>
fn transmute(self) -> Self::Target where
Self: Sized,
[src]
Self: Sized,
fn transmute_ref(&self) -> &Self::Target
[src]
fn transmute_ref_mut(&mut self) -> &mut Self::Target
[src]
fn transmute_slice(me: &[Self]) -> &[Self::Target] where
Self: Sized,
[src]
Self: Sized,
fn transmute_slice_twice(
me: &[Self]
) -> &[<Self::Target as Transparent>::Target] where
Self: Sized,
Self::Target: Transparent + Sized,
[src]
me: &[Self]
) -> &[<Self::Target as Transparent>::Target] where
Self: Sized,
Self::Target: Transparent + Sized,
fn transmute_slice_mut(me: &mut [Self]) -> &mut [Self::Target] where
Self: Sized,
[src]
Self: Sized,
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]
I: AsRef<[AttachmentReference]>,
CR: AsRef<[AttachmentReference]>,
P: AsRef<[u32]>,
type Error = SubpassDescriptionError
The type returned in the event of a conversion error.
fn try_from(
holder: &'a SubpassDescriptionHolder<I, CR, P>
) -> Result<Self, Self::Error>
[src]
holder: &'a SubpassDescriptionHolder<I, CR, P>
) -> Result<Self, Self::Error>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SubpassDescription<'a>
[src]
impl<'a> !Send for SubpassDescription<'a>
[src]
impl<'a> !Sync for SubpassDescription<'a>
[src]
impl<'a> Unpin for SubpassDescription<'a>
[src]
impl<'a> UnwindSafe for SubpassDescription<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,