Struct wgpu::core::resource::BufferMapCallbackC
source · #[repr(C)]pub struct BufferMapCallbackC {
pub callback: unsafe extern "C" fn(_: BufferMapAsyncStatus, _: *mut u8),
pub user_data: *mut u8,
}
Fields§
§callback: unsafe extern "C" fn(_: BufferMapAsyncStatus, _: *mut u8)
§user_data: *mut u8
Trait Implementations§
impl Send for BufferMapCallbackC
Auto Trait Implementations§
impl RefUnwindSafe for BufferMapCallbackC
impl !Sync for BufferMapCallbackC
impl Unpin for BufferMapCallbackC
impl UnwindSafe for BufferMapCallbackC
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