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
Auto Trait Implementations
impl RefUnwindSafe for BufferMapCallbackC
impl !Sync for BufferMapCallbackC
impl Unpin for BufferMapCallbackC
impl UnwindSafe for BufferMapCallbackC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more