Struct wgpu::core::device::UserClosures
source · pub struct UserClosures {
pub mappings: Vec<(BufferMapOperation, Result<(), BufferAccessError>)>,
pub submissions: SmallVec<[SubmittedWorkDoneClosure; 1]>,
pub device_lost_invocations: SmallVec<[DeviceLostInvocation; 1]>,
}
Available on
wgpu_core
only.Fields§
§mappings: Vec<(BufferMapOperation, Result<(), BufferAccessError>)>
§submissions: SmallVec<[SubmittedWorkDoneClosure; 1]>
§device_lost_invocations: SmallVec<[DeviceLostInvocation; 1]>
Trait Implementations§
source§impl Default for UserClosures
impl Default for UserClosures
source§fn default() -> UserClosures
fn default() -> UserClosures
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UserClosures
impl !RefUnwindSafe for UserClosures
impl Send for UserClosures
impl !Sync for UserClosures
impl Unpin for UserClosures
impl !UnwindSafe for UserClosures
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