Struct ash::vk::HostImageLayoutTransitionInfoEXT
source · #[repr(C)]pub struct HostImageLayoutTransitionInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub image: Image,
pub old_layout: ImageLayout,
pub new_layout: ImageLayout,
pub subresource_range: ImageSubresourceRange,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§image: Image
§old_layout: ImageLayout
§new_layout: ImageLayout
§subresource_range: ImageSubresourceRange
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> HostImageLayoutTransitionInfoEXT<'a>
impl<'a> HostImageLayoutTransitionInfoEXT<'a>
pub fn image(self, image: Image) -> Self
pub fn old_layout(self, old_layout: ImageLayout) -> Self
pub fn new_layout(self, new_layout: ImageLayout) -> Self
pub fn subresource_range(self, subresource_range: ImageSubresourceRange) -> Self
Trait Implementations§
source§impl<'a> Clone for HostImageLayoutTransitionInfoEXT<'a>
impl<'a> Clone for HostImageLayoutTransitionInfoEXT<'a>
source§fn clone(&self) -> HostImageLayoutTransitionInfoEXT<'a>
fn clone(&self) -> HostImageLayoutTransitionInfoEXT<'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 HostImageLayoutTransitionInfoEXT<'a>
impl<'a> Debug for HostImageLayoutTransitionInfoEXT<'a>
source§impl Default for HostImageLayoutTransitionInfoEXT<'_>
impl Default for HostImageLayoutTransitionInfoEXT<'_>
source§impl<'a> TaggedStructure for HostImageLayoutTransitionInfoEXT<'a>
impl<'a> TaggedStructure for HostImageLayoutTransitionInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::HOST_IMAGE_LAYOUT_TRANSITION_INFO_EXT
impl<'a> Copy for HostImageLayoutTransitionInfoEXT<'a>
impl Send for HostImageLayoutTransitionInfoEXT<'_>
impl Sync for HostImageLayoutTransitionInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for HostImageLayoutTransitionInfoEXT<'a>
impl<'a> RefUnwindSafe for HostImageLayoutTransitionInfoEXT<'a>
impl<'a> Unpin for HostImageLayoutTransitionInfoEXT<'a>
impl<'a> UnwindSafe for HostImageLayoutTransitionInfoEXT<'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