#[repr(C)]pub struct ExportMetalSharedEventInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub semaphore: Semaphore,
pub event: Event,
pub mtl_shared_event: *mut c_void,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§semaphore: Semaphore§event: Event§_marker: PhantomData<&'a ()>Implementations§
pub fn semaphore( self, semaphore: Semaphore, ) -> ExportMetalSharedEventInfoEXT<'a>
pub fn event(self, event: Event) -> ExportMetalSharedEventInfoEXT<'a>
Trait Implementations§
Source§fn clone(&self) -> ExportMetalSharedEventInfoEXT<'a>
fn clone(&self) -> ExportMetalSharedEventInfoEXT<'a>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn default() -> ExportMetalSharedEventInfoEXT<'_>
fn default() -> ExportMetalSharedEventInfoEXT<'_>
Returns the “default value” for a type. Read more
const STRUCTURE_TYPE: StructureType = StructureType::EXPORT_METAL_SHARED_EVENT_INFO_EXT
Auto Trait Implementations§
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)