pub enum Adapter {
// some variants omitted
}
Expand description
Represents a hardware display adapter that can be used for rendering (including the CPU).
Adapters can be sent between threads. To render with an adapter, open a thread-local Device
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Adapter
impl Send for Adapter
impl Sync for Adapter
impl Unpin for Adapter
impl UnwindSafe for Adapter
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