pub struct DawnCacheDeviceDescriptor {
pub isolation_key: Option<String>,
pub load_data_function: Option<DawnLoadCacheDataFunction>,
pub store_data_function: Option<DawnStoreCacheDataFunction>,
pub function_userdata: Option<*mut c_void>,
}Fields§
§isolation_key: Option<String>§load_data_function: Option<DawnLoadCacheDataFunction>§store_data_function: Option<DawnStoreCacheDataFunction>§function_userdata: Option<*mut c_void>Implementations§
Trait Implementations§
Source§impl Default for DawnCacheDeviceDescriptor
impl Default for DawnCacheDeviceDescriptor
Source§impl From<DawnCacheDeviceDescriptor> for DeviceDescriptorExtension
impl From<DawnCacheDeviceDescriptor> for DeviceDescriptorExtension
Source§fn from(ext: DawnCacheDeviceDescriptor) -> Self
fn from(ext: DawnCacheDeviceDescriptor) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DawnCacheDeviceDescriptor
impl RefUnwindSafe for DawnCacheDeviceDescriptor
impl !Send for DawnCacheDeviceDescriptor
impl !Sync for DawnCacheDeviceDescriptor
impl Unpin for DawnCacheDeviceDescriptor
impl UnsafeUnpin for DawnCacheDeviceDescriptor
impl UnwindSafe for DawnCacheDeviceDescriptor
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