#[repr(C)]pub struct ImportMetalTextureInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub plane: ImageAspectFlagBits,
pub mtl_texture: *const c_void,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_IMPORT_METAL_TEXTURE_INFO_EXT.
p_next: *const c_voidOptional, may be null.
plane: ImageAspectFlagBits§mtl_texture: *const c_voidImplementations§
Source§impl ImportMetalTextureInfoEXT
impl ImportMetalTextureInfoEXT
Sourcepub fn builder<'a>() -> ImportMetalTextureInfoEXTBuilder<'a>
pub fn builder<'a>() -> ImportMetalTextureInfoEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for ImportMetalTextureInfoEXT
impl Clone for ImportMetalTextureInfoEXT
Source§fn clone(&self) -> ImportMetalTextureInfoEXT
fn clone(&self) -> ImportMetalTextureInfoEXT
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImportMetalTextureInfoEXT
impl Debug for ImportMetalTextureInfoEXT
Source§impl Default for ImportMetalTextureInfoEXT
impl Default for ImportMetalTextureInfoEXT
Source§fn default() -> ImportMetalTextureInfoEXT
fn default() -> ImportMetalTextureInfoEXT
Returns the “default value” for a type. Read more
impl Copy for ImportMetalTextureInfoEXT
impl ExtendsImageCreateInfo for ImportMetalTextureInfoEXT
Auto Trait Implementations§
impl Freeze for ImportMetalTextureInfoEXT
impl RefUnwindSafe for ImportMetalTextureInfoEXT
impl !Send for ImportMetalTextureInfoEXT
impl !Sync for ImportMetalTextureInfoEXT
impl Unpin for ImportMetalTextureInfoEXT
impl UnsafeUnpin for ImportMetalTextureInfoEXT
impl UnwindSafe for ImportMetalTextureInfoEXT
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
Mutably borrows from an owned value. Read more