Struct vulkanalia::vk::ImageLayout
source · #[repr(transparent)]pub struct ImageLayout(/* private fields */);
Expand description
Implementations§
source§impl ImageLayout
impl ImageLayout
pub const UNDEFINED: ImageLayout = _
pub const GENERAL: ImageLayout = _
pub const COLOR_ATTACHMENT_OPTIMAL: ImageLayout = _
pub const DEPTH_STENCIL_ATTACHMENT_OPTIMAL: ImageLayout = _
pub const DEPTH_STENCIL_READ_ONLY_OPTIMAL: ImageLayout = _
pub const SHADER_READ_ONLY_OPTIMAL: ImageLayout = _
pub const TRANSFER_SRC_OPTIMAL: ImageLayout = _
pub const TRANSFER_DST_OPTIMAL: ImageLayout = _
pub const PREINITIALIZED: ImageLayout = _
pub const DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL: ImageLayout = _
pub const DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL: ImageLayout = _
pub const DEPTH_ATTACHMENT_OPTIMAL: ImageLayout = _
pub const DEPTH_READ_ONLY_OPTIMAL: ImageLayout = _
pub const STENCIL_ATTACHMENT_OPTIMAL: ImageLayout = _
pub const STENCIL_READ_ONLY_OPTIMAL: ImageLayout = _
pub const READ_ONLY_OPTIMAL: ImageLayout = _
pub const ATTACHMENT_OPTIMAL: ImageLayout = _
pub const PRESENT_SRC_KHR: ImageLayout = _
pub const SHARED_PRESENT_KHR: ImageLayout = _
pub const FRAGMENT_DENSITY_MAP_OPTIMAL_EXT: ImageLayout = _
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR: ImageLayout = _
pub const ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT: ImageLayout = _
sourcepub const fn from_raw(value: i32) -> ImageLayout
pub const fn from_raw(value: i32) -> ImageLayout
Constructs an instance of this enum with the supplied underlying value.
Trait Implementations§
source§impl Clone for ImageLayout
impl Clone for ImageLayout
source§fn clone(&self) -> ImageLayout
fn clone(&self) -> ImageLayout
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 Debug for ImageLayout
impl Debug for ImageLayout
source§impl Default for ImageLayout
impl Default for ImageLayout
source§fn default() -> ImageLayout
fn default() -> ImageLayout
Returns the “default value” for a type. Read more
source§impl Hash for ImageLayout
impl Hash for ImageLayout
source§impl Ord for ImageLayout
impl Ord for ImageLayout
source§fn cmp(&self, other: &ImageLayout) -> Ordering
fn cmp(&self, other: &ImageLayout) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq<ImageLayout> for ImageLayout
impl PartialEq<ImageLayout> for ImageLayout
source§fn eq(&self, other: &ImageLayout) -> bool
fn eq(&self, other: &ImageLayout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ImageLayout> for ImageLayout
impl PartialOrd<ImageLayout> for ImageLayout
source§fn partial_cmp(&self, other: &ImageLayout) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageLayout) -> Option<Ordering>
1.0.0 · source§fn 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§
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