pub struct BasicDevicesConfigure;
Expand description
Basics adapters config.
It picks first device with highest priority. From highest - discrete GPU, to lowest - CPU.
To pick among presented discret GPUs,
or to intentionally pick integrated GPU when discrete GPU is available
a custom DeviceConfigure
implementationcan be used instead.
Trait Implementations§
Source§impl Clone for BasicDevicesConfigure
impl Clone for BasicDevicesConfigure
Source§fn clone(&self) -> BasicDevicesConfigure
fn clone(&self) -> BasicDevicesConfigure
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BasicDevicesConfigure
impl Debug for BasicDevicesConfigure
Source§impl Default for BasicDevicesConfigure
impl Default for BasicDevicesConfigure
Source§fn default() -> BasicDevicesConfigure
fn default() -> BasicDevicesConfigure
Returns the “default value” for a type. Read more
impl Copy for BasicDevicesConfigure
Auto Trait Implementations§
impl Freeze for BasicDevicesConfigure
impl RefUnwindSafe for BasicDevicesConfigure
impl Send for BasicDevicesConfigure
impl Sync for BasicDevicesConfigure
impl Unpin for BasicDevicesConfigure
impl UnwindSafe for BasicDevicesConfigure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)