[][src]Struct vk_rs::vk::ImageMemoryBarrier

#[repr(C)]pub struct ImageMemoryBarrier {
    pub sType: StructureType,
    pub pNext: *const c_void,
    pub srcAccessMask: AccessFlags,
    pub dstAccessMask: AccessFlags,
    pub oldLayout: ImageLayout,
    pub newLayout: ImageLayout,
    pub srcQueueFamilyIndex: u32,
    pub dstQueueFamilyIndex: u32,
    pub image: Image,
    pub subresourceRange: ImageSubresourceRange,
}

Fields

sType: StructureTypepNext: *const c_voidsrcAccessMask: AccessFlagsdstAccessMask: AccessFlagsoldLayout: ImageLayoutnewLayout: ImageLayoutsrcQueueFamilyIndex: u32dstQueueFamilyIndex: u32image: ImagesubresourceRange: ImageSubresourceRange

Implementations

impl ImageMemoryBarrier[src]

pub fn new() -> Self[src]

pub fn sType(self, sType: StructureType) -> Self[src]

pub fn pNext(self, pNext: *const c_void) -> Self[src]

pub fn srcAccessMask(self, srcAccessMask: AccessFlags) -> Self[src]

pub fn dstAccessMask(self, dstAccessMask: AccessFlags) -> Self[src]

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

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

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

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

pub fn image(self, image: Image) -> Self[src]

pub fn subresourceRange(self, subresourceRange: ImageSubresourceRange) -> Self[src]

Trait Implementations

impl Clone for ImageMemoryBarrier[src]

impl Copy for ImageMemoryBarrier[src]

impl Debug for ImageMemoryBarrier[src]

impl Default for ImageMemoryBarrier[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.