Struct vulkanalia_sys::ImageLayout
source · [−]#[repr(transparent)]pub struct ImageLayout(_);
Expand description
Implementations
sourceimpl ImageLayout
impl ImageLayout
pub const UNDEFINED: Self = Self(0)
pub const GENERAL: Self = Self(1)
pub const COLOR_ATTACHMENT_OPTIMAL: Self = Self(2)
pub const DEPTH_STENCIL_ATTACHMENT_OPTIMAL: Self = Self(3)
pub const DEPTH_STENCIL_READ_ONLY_OPTIMAL: Self = Self(4)
pub const SHADER_READ_ONLY_OPTIMAL: Self = Self(5)
pub const TRANSFER_SRC_OPTIMAL: Self = Self(6)
pub const TRANSFER_DST_OPTIMAL: Self = Self(7)
pub const PREINITIALIZED: Self = Self(8)
pub const DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL: Self = Self(1000117000)
pub const DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL: Self = Self(1000117001)
pub const DEPTH_ATTACHMENT_OPTIMAL: Self = Self(1000241000)
pub const DEPTH_READ_ONLY_OPTIMAL: Self = Self(1000241001)
pub const STENCIL_ATTACHMENT_OPTIMAL: Self = Self(1000241002)
pub const STENCIL_READ_ONLY_OPTIMAL: Self = Self(1000241003)
pub const READ_ONLY_OPTIMAL: Self = Self(1000314000)
pub const ATTACHMENT_OPTIMAL: Self = Self(1000314001)
pub const PRESENT_SRC_KHR: Self = Self(1000001002)
pub const SHARED_PRESENT_KHR: Self = Self(1000111000)
pub const FRAGMENT_DENSITY_MAP_OPTIMAL_EXT: Self = Self(1000218000)
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR: Self = Self(1000164003)
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 more
sourceimpl 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 Hash for ImageLayout
impl Hash for ImageLayout
sourceimpl Ord for ImageLayout
impl Ord for ImageLayout
sourceimpl PartialEq<ImageLayout> for ImageLayout
impl PartialEq<ImageLayout> for ImageLayout
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ImageLayout) -> bool
fn ne(&self, other: &ImageLayout) -> bool
This method tests for !=
.
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>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
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 more
impl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more