Struct vulkanalia::vk::ExportMetalTextureInfoEXTBuilder
source · #[repr(transparent)]pub struct ExportMetalTextureInfoEXTBuilder { /* private fields */ }
Expand description
A builder for a ExportMetalTextureInfoEXT
.
Implementations§
source§impl ExportMetalTextureInfoEXTBuilder
impl ExportMetalTextureInfoEXTBuilder
pub fn image(self, image: Image) -> Self
pub fn image_view(self, image_view: ImageView) -> Self
pub fn buffer_view(self, buffer_view: BufferView) -> Self
pub fn plane(self, plane: ImageAspectFlags) -> Self
pub fn mtl_texture(self, mtl_texture: MTLTexture_id) -> Self
pub fn build(self) -> ExportMetalTextureInfoEXT
Trait Implementations§
source§impl Cast for ExportMetalTextureInfoEXTBuilder
impl Cast for ExportMetalTextureInfoEXTBuilder
§type Target = ExportMetalTextureInfoEXT
type Target = ExportMetalTextureInfoEXT
The other type this type can be used interchangeably with in FFI.
source§impl Clone for ExportMetalTextureInfoEXTBuilder
impl Clone for ExportMetalTextureInfoEXTBuilder
source§fn clone(&self) -> ExportMetalTextureInfoEXTBuilder
fn clone(&self) -> ExportMetalTextureInfoEXTBuilder
Returns a copy 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 Default for ExportMetalTextureInfoEXTBuilder
impl Default for ExportMetalTextureInfoEXTBuilder
source§fn default() -> ExportMetalTextureInfoEXTBuilder
fn default() -> ExportMetalTextureInfoEXTBuilder
Returns the “default value” for a type. Read more
impl Copy for ExportMetalTextureInfoEXTBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ExportMetalTextureInfoEXTBuilder
impl !Send for ExportMetalTextureInfoEXTBuilder
impl !Sync for ExportMetalTextureInfoEXTBuilder
impl Unpin for ExportMetalTextureInfoEXTBuilder
impl UnwindSafe for ExportMetalTextureInfoEXTBuilder
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