#[repr(C)]pub struct affineui_gpu_context {
pub backend: c_int,
pub d3d11_device: *const c_void,
pub d3d11_device_context: *const c_void,
pub metal_device: *const c_void,
pub wgpu_device: *const c_void,
pub color_format: c_int,
pub depth_format: c_int,
pub sample_count: c_int,
}Fields§
§backend: c_int§d3d11_device: *const c_void§d3d11_device_context: *const c_void§metal_device: *const c_void§wgpu_device: *const c_void§color_format: c_int§depth_format: c_int§sample_count: c_intTrait Implementations§
Source§impl Clone for affineui_gpu_context
impl Clone for affineui_gpu_context
Source§fn clone(&self) -> affineui_gpu_context
fn clone(&self) -> affineui_gpu_context
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for affineui_gpu_context
Auto Trait Implementations§
impl !Send for affineui_gpu_context
impl !Sync for affineui_gpu_context
impl Freeze for affineui_gpu_context
impl RefUnwindSafe for affineui_gpu_context
impl Unpin for affineui_gpu_context
impl UnsafeUnpin for affineui_gpu_context
impl UnwindSafe for affineui_gpu_context
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