Struct comfy_wgpu::GraphicsContext
source · pub struct GraphicsContext {
pub instance: Arc<Instance>,
pub adapter: Arc<Adapter>,
pub device: Arc<Device>,
pub queue: Arc<Queue>,
pub texture_layout: Arc<BindGroupLayout>,
}Fields§
§instance: Arc<Instance>§adapter: Arc<Adapter>§device: Arc<Device>§queue: Arc<Queue>§texture_layout: Arc<BindGroupLayout>Trait Implementations§
source§impl Clone for GraphicsContext
impl Clone for GraphicsContext
source§fn clone(&self) -> GraphicsContext
fn clone(&self) -> GraphicsContext
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for GraphicsContext
impl Send for GraphicsContext
impl Sync for GraphicsContext
impl Unpin for GraphicsContext
impl !UnwindSafe for GraphicsContext
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