Struct core_compute::compute_config
source · pub struct compute_config {
pub _wgpu_instance: Instance,
pub _wgpu_adapter: Adapter,
pub _wgpu_queue: Queue,
pub _wgpu_device: Device,
}Expand description
when you use compute! macro to start your computing , the default compute_config will be generated . but for customizing it you can create your own compute_config and pass it directly to compute_ext! macro as its first arg
Fields§
§_wgpu_instance: Instance§_wgpu_adapter: Adapter§_wgpu_queue: Queue§_wgpu_device: DeviceTrait Implementations§
source§impl Debug for compute_config
impl Debug for compute_config
Auto Trait Implementations§
impl Freeze for compute_config
impl !RefUnwindSafe for compute_config
impl Send for compute_config
impl Sync for compute_config
impl Unpin for compute_config
impl !UnwindSafe for compute_config
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