Struct vulkano::image::ImageFormatProperties [−][src]
pub struct ImageFormatProperties { pub max_extent: Extent, pub max_mip_levels: MipmapsCount, pub max_array_layers: u32, pub sample_counts: u32, pub max_resource_size: usize, }
Helper type returned from Device’s fn image_format_properties()
Fields
max_extent: Extent
max_mip_levels: MipmapsCount
max_array_layers: u32
sample_counts: u32
max_resource_size: usize
Trait Implementations
impl From<ImageFormatProperties> for ImageFormatProperties
[src]
impl From<ImageFormatProperties> for ImageFormatProperties
[src]fn from(props: ImageFormatProperties) -> Self
[src]
fn from(props: ImageFormatProperties) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ImageFormatProperties
impl Send for ImageFormatProperties
impl Sync for ImageFormatProperties
impl Unpin for ImageFormatProperties
impl UnwindSafe for ImageFormatProperties
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(usize) -> bool
[src]
pub fn is_size_suitable(usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.