Struct ggez::graphics::WgpuContext
source · pub struct WgpuContext {
pub instance: Instance,
pub surface: Surface,
pub device: Device,
pub queue: Queue,
}
Expand description
WGPU graphics context objects.
Fields§
§instance: Instance
§surface: Surface
§device: Device
§queue: Queue
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WgpuContext
impl Send for WgpuContext
impl Sync for WgpuContext
impl Unpin for WgpuContext
impl !UnwindSafe for WgpuContext
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
source§impl<T> HasMut<T> for T
impl<T> HasMut<T> for T
source§fn retrieve_mut(&mut self) -> &mut T
fn retrieve_mut(&mut self) -> &mut T
Method to retrieve the context type as mutable.