pub struct ImageLayout(/* private fields */);Expand description
Implementations§
Source§impl ImageLayout
impl ImageLayout
Source§impl ImageLayout
impl ImageLayout
Sourcepub const UNDEFINED: ImageLayout
pub const UNDEFINED: ImageLayout
Implicit layout an image is when its contents are undefined due to various reasons (e.g. right after creation)
Sourcepub const GENERAL: ImageLayout
pub const GENERAL: ImageLayout
General layout when image can be used for any kind of access
Sourcepub const COLOR_ATTACHMENT_OPTIMAL: ImageLayout
pub const COLOR_ATTACHMENT_OPTIMAL: ImageLayout
Optimal layout when image is only used for color attachment read/write
Sourcepub const DEPTH_STENCIL_ATTACHMENT_OPTIMAL: ImageLayout
pub const DEPTH_STENCIL_ATTACHMENT_OPTIMAL: ImageLayout
Optimal layout when image is only used for depth/stencil attachment read/write
Sourcepub const DEPTH_STENCIL_READ_ONLY_OPTIMAL: ImageLayout
pub const DEPTH_STENCIL_READ_ONLY_OPTIMAL: ImageLayout
Optimal layout when image is used for read only depth/stencil attachment and shader access
Sourcepub const SHADER_READ_ONLY_OPTIMAL: ImageLayout
pub const SHADER_READ_ONLY_OPTIMAL: ImageLayout
Optimal layout when image is used for read only shader access
Sourcepub const TRANSFER_SRC_OPTIMAL: ImageLayout
pub const TRANSFER_SRC_OPTIMAL: ImageLayout
Optimal layout when image is used only as source of transfer operations
Sourcepub const TRANSFER_DST_OPTIMAL: ImageLayout
pub const TRANSFER_DST_OPTIMAL: ImageLayout
Optimal layout when image is used only as destination of transfer operations
Sourcepub const PREINITIALIZED: ImageLayout
pub const PREINITIALIZED: ImageLayout
Initial layout used when the data is populated by the CPU
Source§impl ImageLayout
Generated from ‘VK_KHR_swapchain’
impl ImageLayout
Generated from ‘VK_KHR_swapchain’
pub const PRESENT_SRC_KHR: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_KHR_video_decode_queue’
impl ImageLayout
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_DST_KHR: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_KHR_video_decode_queue’
impl ImageLayout
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_SRC_KHR: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_KHR_video_decode_queue’
impl ImageLayout
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_DPB_KHR: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_KHR_shared_presentable_image’
impl ImageLayout
Generated from ‘VK_KHR_shared_presentable_image’
pub const SHARED_PRESENT_KHR: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_KHR_maintenance2’
impl ImageLayout
Generated from ‘VK_KHR_maintenance2’
pub const DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR: ImageLayout = Self::DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL
Source§impl ImageLayout
Generated from ‘VK_KHR_maintenance2’
impl ImageLayout
Generated from ‘VK_KHR_maintenance2’
pub const DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR: ImageLayout = Self::DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL
Source§impl ImageLayout
Generated from ‘VK_NV_shading_rate_image’
impl ImageLayout
Generated from ‘VK_NV_shading_rate_image’
pub const SHADING_RATE_OPTIMAL_NV: ImageLayout = Self::FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR
Source§impl ImageLayout
Generated from ‘VK_EXT_fragment_density_map’
impl ImageLayout
Generated from ‘VK_EXT_fragment_density_map’
Source§impl ImageLayout
Generated from ‘VK_KHR_fragment_shading_rate’
impl ImageLayout
Generated from ‘VK_KHR_fragment_shading_rate’
Source§impl ImageLayout
Generated from ‘VK_KHR_separate_depth_stencil_layouts’
impl ImageLayout
Generated from ‘VK_KHR_separate_depth_stencil_layouts’
pub const DEPTH_ATTACHMENT_OPTIMAL_KHR: ImageLayout = Self::DEPTH_ATTACHMENT_OPTIMAL
Source§impl ImageLayout
Generated from ‘VK_KHR_separate_depth_stencil_layouts’
impl ImageLayout
Generated from ‘VK_KHR_separate_depth_stencil_layouts’
pub const DEPTH_READ_ONLY_OPTIMAL_KHR: ImageLayout = Self::DEPTH_READ_ONLY_OPTIMAL
Source§impl ImageLayout
Generated from ‘VK_KHR_separate_depth_stencil_layouts’
impl ImageLayout
Generated from ‘VK_KHR_separate_depth_stencil_layouts’
pub const STENCIL_ATTACHMENT_OPTIMAL_KHR: ImageLayout = Self::STENCIL_ATTACHMENT_OPTIMAL
Source§impl ImageLayout
Generated from ‘VK_KHR_separate_depth_stencil_layouts’
impl ImageLayout
Generated from ‘VK_KHR_separate_depth_stencil_layouts’
pub const STENCIL_READ_ONLY_OPTIMAL_KHR: ImageLayout = Self::STENCIL_READ_ONLY_OPTIMAL
Source§impl ImageLayout
Generated from ‘VK_KHR_video_encode_queue’
impl ImageLayout
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_DST_KHR: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_KHR_video_encode_queue’
impl ImageLayout
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_SRC_KHR: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_KHR_video_encode_queue’
impl ImageLayout
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_DPB_KHR: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_KHR_synchronization2’
impl ImageLayout
Generated from ‘VK_KHR_synchronization2’
pub const READ_ONLY_OPTIMAL_KHR: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_KHR_synchronization2’
impl ImageLayout
Generated from ‘VK_KHR_synchronization2’
pub const ATTACHMENT_OPTIMAL_KHR: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_VERSION_1_1’
impl ImageLayout
Generated from ‘VK_VERSION_1_1’
Source§impl ImageLayout
Generated from ‘VK_VERSION_1_1’
impl ImageLayout
Generated from ‘VK_VERSION_1_1’
Source§impl ImageLayout
Generated from ‘VK_VERSION_1_2’
impl ImageLayout
Generated from ‘VK_VERSION_1_2’
pub const DEPTH_ATTACHMENT_OPTIMAL: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_VERSION_1_2’
impl ImageLayout
Generated from ‘VK_VERSION_1_2’
pub const DEPTH_READ_ONLY_OPTIMAL: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_VERSION_1_2’
impl ImageLayout
Generated from ‘VK_VERSION_1_2’
pub const STENCIL_ATTACHMENT_OPTIMAL: ImageLayout
Source§impl ImageLayout
Generated from ‘VK_VERSION_1_2’
impl ImageLayout
Generated from ‘VK_VERSION_1_2’
pub const STENCIL_READ_ONLY_OPTIMAL: ImageLayout
Trait Implementations§
Source§impl Clone for ImageLayout
impl Clone for ImageLayout
Source§fn clone(&self) -> ImageLayout
fn clone(&self) -> ImageLayout
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ImageLayout
impl PartialEq for ImageLayout
Source§fn eq(&self, other: &ImageLayout) -> bool
fn eq(&self, other: &ImageLayout) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ImageLayout
impl PartialOrd for ImageLayout
impl Copy for ImageLayout
impl Eq for ImageLayout
impl StructuralPartialEq for ImageLayout
Auto Trait Implementations§
impl Freeze for ImageLayout
impl RefUnwindSafe for ImageLayout
impl Send for ImageLayout
impl Sync for ImageLayout
impl Unpin for ImageLayout
impl UnsafeUnpin 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
Source§impl<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> FilterHaving<T, Here> for Twhere
T: ?Sized,
impl<T> FilterHaving<T, Here> for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.