Struct ash::vk::ImportMetalBufferInfoEXT
source · #[repr(C)]pub struct ImportMetalBufferInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub mtl_buffer: MTLBuffer_id,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§mtl_buffer: MTLBuffer_id
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> ImportMetalBufferInfoEXT<'a>
impl<'a> ImportMetalBufferInfoEXT<'a>
pub fn mtl_buffer(self, mtl_buffer: MTLBuffer_id) -> Self
Trait Implementations§
source§impl<'a> Clone for ImportMetalBufferInfoEXT<'a>
impl<'a> Clone for ImportMetalBufferInfoEXT<'a>
source§fn clone(&self) -> ImportMetalBufferInfoEXT<'a>
fn clone(&self) -> ImportMetalBufferInfoEXT<'a>
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<'a> Debug for ImportMetalBufferInfoEXT<'a>
impl<'a> Debug for ImportMetalBufferInfoEXT<'a>
source§impl Default for ImportMetalBufferInfoEXT<'_>
impl Default for ImportMetalBufferInfoEXT<'_>
source§impl<'a> TaggedStructure for ImportMetalBufferInfoEXT<'a>
impl<'a> TaggedStructure for ImportMetalBufferInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::IMPORT_METAL_BUFFER_INFO_EXT
impl<'a> Copy for ImportMetalBufferInfoEXT<'a>
impl ExtendsMemoryAllocateInfo for ImportMetalBufferInfoEXT<'_>
impl Send for ImportMetalBufferInfoEXT<'_>
impl Sync for ImportMetalBufferInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImportMetalBufferInfoEXT<'a>
impl<'a> RefUnwindSafe for ImportMetalBufferInfoEXT<'a>
impl<'a> Unpin for ImportMetalBufferInfoEXT<'a>
impl<'a> UnwindSafe for ImportMetalBufferInfoEXT<'a>
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