Struct wgpu::core::device::DeviceLostClosureRust
source · pub struct DeviceLostClosureRust {
pub callback: Box<dyn Fn(DeviceLostReason, String) + Send>,
/* private fields */
}
Available on
wgpu_core
only.Fields§
§callback: Box<dyn Fn(DeviceLostReason, String) + Send>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceLostClosureRust
impl !RefUnwindSafe for DeviceLostClosureRust
impl Send for DeviceLostClosureRust
impl !Sync for DeviceLostClosureRust
impl Unpin for DeviceLostClosureRust
impl !UnwindSafe for DeviceLostClosureRust
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