Struct erupt::vk1_2::SubpassDependency2Builder
source · #[repr(transparent)]pub struct SubpassDependency2Builder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of SubpassDependency2
Implementations
sourceimpl<'a> SubpassDependency2Builder<'a>
impl<'a> SubpassDependency2Builder<'a>
pub fn new() -> SubpassDependency2Builder<'a>
pub fn src_subpass(self, src_subpass: u32) -> Self
pub fn dst_subpass(self, dst_subpass: u32) -> Self
pub fn src_stage_mask(self, src_stage_mask: PipelineStageFlags) -> Self
pub fn dst_stage_mask(self, dst_stage_mask: PipelineStageFlags) -> Self
pub fn src_access_mask(self, src_access_mask: AccessFlags) -> Self
pub fn dst_access_mask(self, dst_access_mask: AccessFlags) -> Self
pub fn dependency_flags(self, dependency_flags: DependencyFlags) -> Self
pub fn view_offset(self, view_offset: i32) -> Self
sourcepub fn build_dangling(self) -> SubpassDependency2
pub fn build_dangling(self) -> SubpassDependency2
Discards all lifetime information.
Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = SubpassDependency2>
pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::SUBPASS_DEPENDENCY_2
Trait Implementations
sourceimpl<'a> Clone for SubpassDependency2Builder<'a>
impl<'a> Clone for SubpassDependency2Builder<'a>
sourcefn clone(&self) -> SubpassDependency2Builder<'a>
fn clone(&self) -> SubpassDependency2Builder<'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 SubpassDependency2Builder<'a>
impl<'a> Debug for SubpassDependency2Builder<'a>
sourceimpl<'a> Default for SubpassDependency2Builder<'a>
impl<'a> Default for SubpassDependency2Builder<'a>
sourcefn default() -> SubpassDependency2Builder<'a>
fn default() -> SubpassDependency2Builder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for SubpassDependency2Builder<'a>
impl<'a> Deref for SubpassDependency2Builder<'a>
type Target = SubpassDependency2
type Target = SubpassDependency2
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for SubpassDependency2Builder<'a>
impl<'a> DerefMut for SubpassDependency2Builder<'a>
sourceimpl<'a> ExtendableFrom<'a, MemoryBarrier2> for SubpassDependency2Builder<'a>
impl<'a> ExtendableFrom<'a, MemoryBarrier2> for SubpassDependency2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, MemoryBarrier2Builder<'_>> for SubpassDependency2Builder<'a>
impl<'a> ExtendableFrom<'a, MemoryBarrier2Builder<'_>> for SubpassDependency2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moreimpl<'a> Copy for SubpassDependency2Builder<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SubpassDependency2Builder<'a>
impl<'a> !Send for SubpassDependency2Builder<'a>
impl<'a> !Sync for SubpassDependency2Builder<'a>
impl<'a> Unpin for SubpassDependency2Builder<'a>
impl<'a> UnwindSafe for SubpassDependency2Builder<'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