Struct wgpu_core::resource::BufferMapCallbackC
source · #[repr(C)]pub struct BufferMapCallbackC {
pub callback: unsafe extern "C" fn(status: BufferMapAsyncStatus, user_data: *mut u8),
pub user_data: *mut u8,
}
Fields§
§callback: unsafe extern "C" fn(status: BufferMapAsyncStatus, user_data: *mut u8)
§user_data: *mut u8
Trait Implementations§
impl Send for BufferMapCallbackC
Available on
send_sync
only.Auto Trait Implementations§
impl Freeze for BufferMapCallbackC
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