#[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: StructureType
§pNext: *const c_void
§srcAccessMask: AccessFlags
§dstAccessMask: AccessFlags
§oldLayout: ImageLayout
§newLayout: ImageLayout
§srcQueueFamilyIndex: u32
§dstQueueFamilyIndex: u32
§image: Image
§subresourceRange: ImageSubresourceRange
Trait Implementations§
Source§impl Clone for ImageMemoryBarrier
impl Clone for ImageMemoryBarrier
Source§fn clone(&self) -> ImageMemoryBarrier
fn clone(&self) -> ImageMemoryBarrier
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ImageMemoryBarrier
Auto Trait Implementations§
impl Freeze for ImageMemoryBarrier
impl RefUnwindSafe for ImageMemoryBarrier
impl !Send for ImageMemoryBarrier
impl !Sync for ImageMemoryBarrier
impl Unpin for ImageMemoryBarrier
impl UnwindSafe for ImageMemoryBarrier
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