Struct ash::vk::DependencyInfo
source · #[repr(C)]pub struct DependencyInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub dependency_flags: DependencyFlags,
pub memory_barrier_count: u32,
pub p_memory_barriers: *const MemoryBarrier2<'a>,
pub buffer_memory_barrier_count: u32,
pub p_buffer_memory_barriers: *const BufferMemoryBarrier2<'a>,
pub image_memory_barrier_count: u32,
pub p_image_memory_barriers: *const ImageMemoryBarrier2<'a>,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§dependency_flags: DependencyFlags
§memory_barrier_count: u32
§p_memory_barriers: *const MemoryBarrier2<'a>
§buffer_memory_barrier_count: u32
§p_buffer_memory_barriers: *const BufferMemoryBarrier2<'a>
§image_memory_barrier_count: u32
§p_image_memory_barriers: *const ImageMemoryBarrier2<'a>
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> DependencyInfo<'a>
impl<'a> DependencyInfo<'a>
pub fn dependency_flags(self, dependency_flags: DependencyFlags) -> Self
pub fn memory_barriers(self, memory_barriers: &'a [MemoryBarrier2<'a>]) -> Self
pub fn buffer_memory_barriers( self, buffer_memory_barriers: &'a [BufferMemoryBarrier2<'a>], ) -> Self
pub fn image_memory_barriers( self, image_memory_barriers: &'a [ImageMemoryBarrier2<'a>], ) -> Self
Trait Implementations§
source§impl<'a> Clone for DependencyInfo<'a>
impl<'a> Clone for DependencyInfo<'a>
source§fn clone(&self) -> DependencyInfo<'a>
fn clone(&self) -> DependencyInfo<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for DependencyInfo<'a>
impl<'a> Debug for DependencyInfo<'a>
source§impl Default for DependencyInfo<'_>
impl Default for DependencyInfo<'_>
source§impl<'a> TaggedStructure for DependencyInfo<'a>
impl<'a> TaggedStructure for DependencyInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::DEPENDENCY_INFO
impl<'a> Copy for DependencyInfo<'a>
impl Send for DependencyInfo<'_>
impl Sync for DependencyInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for DependencyInfo<'a>
impl<'a> RefUnwindSafe for DependencyInfo<'a>
impl<'a> Unpin for DependencyInfo<'a>
impl<'a> UnwindSafe for DependencyInfo<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)