Struct voodoo::PhysicalDeviceImageFormatInfo2Khr
[−]
[src]
#[repr(C)]pub struct PhysicalDeviceImageFormatInfo2Khr<'s> { /* fields omitted */ }
A VkPhysicalDeviceImageFormatInfo2KHR
.
Methods
impl<'s> PhysicalDeviceImageFormatInfo2Khr<'s>
[src]
pub fn builder<'b>() -> PhysicalDeviceImageFormatInfo2KhrBuilder<'b>
[src]
pub unsafe fn from_raw(
raw: VkPhysicalDeviceImageFormatInfo2KHR
) -> PhysicalDeviceImageFormatInfo2Khr<'s>
[src]
raw: VkPhysicalDeviceImageFormatInfo2KHR
) -> PhysicalDeviceImageFormatInfo2Khr<'s>
pub fn next<'a>(&'a self) -> *const c_void
[src]
pub fn format<'a>(&'a self) -> Format
[src]
pub fn type_of<'a>(&'a self) -> ImageType
[src]
pub fn tiling<'a>(&'a self) -> ImageTiling
[src]
pub fn usage<'a>(&'a self) -> ImageUsageFlags
[src]
pub fn flags<'a>(&'a self) -> ImageCreateFlags
[src]
pub unsafe fn set_next<'m>(&mut self, next: *const c_void)
[src]
pub fn set_format<'m>(&mut self, format: Format)
[src]
pub fn set_type_of<'m>(&mut self, type_of: ImageType)
[src]
pub fn set_tiling<'m>(&mut self, tiling: ImageTiling)
[src]
pub fn set_usage<'m>(&mut self, usage: ImageUsageFlags)
[src]
pub fn set_flags<'m>(&mut self, flags: ImageCreateFlags)
[src]
pub fn as_raw(&self) -> &VkPhysicalDeviceImageFormatInfo2KHR
[src]
Trait Implementations
impl<'s> Debug for PhysicalDeviceImageFormatInfo2Khr<'s>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'s> Clone for PhysicalDeviceImageFormatInfo2Khr<'s>
[src]
fn clone(&self) -> PhysicalDeviceImageFormatInfo2Khr<'s>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'s> Default for PhysicalDeviceImageFormatInfo2Khr<'s>
[src]
fn default() -> PhysicalDeviceImageFormatInfo2Khr<'s>
[src]
Returns the "default value" for a type. Read more
impl<'s> From<PhysicalDeviceImageFormatInfo2Khr<'s>> for VkPhysicalDeviceImageFormatInfo2KHR
[src]
fn from(
f: PhysicalDeviceImageFormatInfo2Khr<'s>
) -> VkPhysicalDeviceImageFormatInfo2KHR
[src]
f: PhysicalDeviceImageFormatInfo2Khr<'s>
) -> VkPhysicalDeviceImageFormatInfo2KHR
Performs the conversion.