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