Struct ash::vk::ImageLayout
source · #[repr(transparent)]pub struct ImageLayout(_);
Implementations
sourceimpl ImageLayout
impl ImageLayout
sourcepub const UNDEFINED: Self = _
pub const UNDEFINED: Self = _
Implicit layout an image is when its contents are undefined due to various reasons (e.g. right after creation)
sourcepub const COLOR_ATTACHMENT_OPTIMAL: Self = _
pub const COLOR_ATTACHMENT_OPTIMAL: Self = _
Optimal layout when image is only used for color attachment read/write
sourcepub const DEPTH_STENCIL_ATTACHMENT_OPTIMAL: Self = _
pub const DEPTH_STENCIL_ATTACHMENT_OPTIMAL: Self = _
Optimal layout when image is only used for depth/stencil attachment read/write
sourcepub const DEPTH_STENCIL_READ_ONLY_OPTIMAL: Self = _
pub const DEPTH_STENCIL_READ_ONLY_OPTIMAL: Self = _
Optimal layout when image is used for read only depth/stencil attachment and shader access
sourcepub const SHADER_READ_ONLY_OPTIMAL: Self = _
pub const SHADER_READ_ONLY_OPTIMAL: Self = _
Optimal layout when image is used for read only shader access
sourcepub const TRANSFER_SRC_OPTIMAL: Self = _
pub const TRANSFER_SRC_OPTIMAL: Self = _
Optimal layout when image is used only as source of transfer operations
sourcepub const TRANSFER_DST_OPTIMAL: Self = _
pub const TRANSFER_DST_OPTIMAL: Self = _
Optimal layout when image is used only as destination of transfer operations
sourcepub const PREINITIALIZED: Self = _
pub const PREINITIALIZED: Self = _
Initial layout used when the data is populated by the CPU
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_shared_presentable_image’
pub const SHARED_PRESENT_KHR: Self = _
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_VERSION_1_1’
pub const DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL: Self = _
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_VERSION_1_1’
pub const DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL: Self = _
Trait Implementations
sourceimpl Clone for ImageLayout
impl Clone for ImageLayout
sourcefn clone(&self) -> ImageLayout
fn clone(&self) -> ImageLayout
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 Debug for ImageLayout
impl Debug for ImageLayout
sourceimpl Default for ImageLayout
impl Default for ImageLayout
sourcefn default() -> ImageLayout
fn default() -> ImageLayout
Returns the “default value” for a type. Read more
sourceimpl Display for ImageLayout
impl Display for ImageLayout
sourceimpl Hash for ImageLayout
impl Hash for ImageLayout
sourceimpl Ord for ImageLayout
impl Ord for ImageLayout
sourcefn cmp(&self, other: &ImageLayout) -> Ordering
fn cmp(&self, other: &ImageLayout) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ImageLayout> for ImageLayout
impl PartialEq<ImageLayout> for ImageLayout
sourcefn eq(&self, other: &ImageLayout) -> bool
fn eq(&self, other: &ImageLayout) -> bool
sourceimpl PartialOrd<ImageLayout> for ImageLayout
impl PartialOrd<ImageLayout> for ImageLayout
sourcefn partial_cmp(&self, other: &ImageLayout) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageLayout) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ImageLayout
impl Eq for ImageLayout
impl StructuralEq for ImageLayout
impl StructuralPartialEq for ImageLayout
Auto Trait Implementations
impl RefUnwindSafe for ImageLayout
impl Send for ImageLayout
impl Sync for ImageLayout
impl Unpin for ImageLayout
impl UnwindSafe for ImageLayout
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