[−][src]Struct vulkayes_core::resource::image::params::ImageSizeInfo
Statically typed common safe combinations of image size, mipmap levels, sample flags and image create flags.
Implementations
impl ImageSizeInfo
[src]
pub const fn General(size: ImageSize) -> Self
[src]
General image size with no flags enabled.
pub const fn CubeCompatible(size: ImageSizeCubeCompatible) -> Self
[src]
Cube compatible 2D layered image.
pub const fn Multisampled(
width: NonZeroU32,
height: NonZeroU32,
array_layers: NonZeroU32,
samples: SampleCountFlags
) -> Self
[src]
width: NonZeroU32,
height: NonZeroU32,
array_layers: NonZeroU32,
samples: SampleCountFlags
) -> Self
Multisampled 2D image.
pub const fn ArrayCompatible(size: ImageSize3D) -> Self
[src]
Array compatible 3D image.
pub const unsafe fn Custom(
size: ImageSize,
samples: SampleCountFlags,
flags: ImageCreateFlags
) -> Self
[src]
size: ImageSize,
samples: SampleCountFlags,
flags: ImageCreateFlags
) -> Self
Custom combination.
Safety
See https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageCreateInfo.html
Trait Implementations
impl Clone for ImageSizeInfo
[src]
fn clone(&self) -> ImageSizeInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ImageSizeInfo
[src]
impl Debug for ImageSizeInfo
[src]
impl Eq for ImageSizeInfo
[src]
impl From<ImageSize> for ImageSizeInfo
[src]
impl Hash for ImageSizeInfo
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<(ImageSize, SampleCountFlags, ImageCreateFlags)> for ImageSizeInfo
[src]
fn into(self) -> (ImageSize, SampleCountFlags, ImageCreateFlags)
[src]
impl PartialEq<ImageSizeInfo> for ImageSizeInfo
[src]
fn eq(&self, other: &ImageSizeInfo) -> bool
[src]
fn ne(&self, other: &ImageSizeInfo) -> bool
[src]
impl StructuralEq for ImageSizeInfo
[src]
impl StructuralPartialEq for ImageSizeInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageSizeInfo
[src]
impl Send for ImageSizeInfo
[src]
impl Sync for ImageSizeInfo
[src]
impl Unpin for ImageSizeInfo
[src]
impl UnwindSafe for ImageSizeInfo
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,