pub struct BudgetCapsSet {
pub cpu: BudgetCaps,
pub wgpu: BudgetCaps,
pub opencl: BudgetCaps,
pub cuda: BudgetCaps,
}Expand description
Named-field set of per-backend caps. Deliberately a struct with
cfg-gated fields rather than a [BudgetCaps; N] — no
BackendKind::COUNT to mislead under --no-default-features, and
partial configs compose via ..Default::default().
Fields§
§cpu: BudgetCaps§wgpu: BudgetCapsAvailable on crate feature
§wgpu only.opencl: BudgetCapsAvailable on crate feature
§opencl only.cuda: BudgetCapsAvailable on crate feature
cuda only.Trait Implementations§
Source§impl Clone for BudgetCapsSet
impl Clone for BudgetCapsSet
Source§impl Debug for BudgetCapsSet
impl Debug for BudgetCapsSet
Auto Trait Implementations§
impl Freeze for BudgetCapsSet
impl RefUnwindSafe for BudgetCapsSet
impl Send for BudgetCapsSet
impl Sync for BudgetCapsSet
impl Unpin for BudgetCapsSet
impl UnsafeUnpin for BudgetCapsSet
impl UnwindSafe for BudgetCapsSet
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