#[repr(C)]pub struct WGPURenderBundleEncoderDescriptor {
pub nextInChain: *mut WGPUChainedStruct,
pub label: WGPUStringView,
pub colorFormatCount: usize,
pub colorFormats: *const WGPUTextureFormat,
pub depthStencilFormat: WGPUTextureFormat,
pub sampleCount: u32,
pub depthReadOnly: WGPUBool,
pub stencilReadOnly: WGPUBool,
}Fields§
§nextInChain: *mut WGPUChainedStruct§label: WGPUStringView§colorFormatCount: usize§colorFormats: *const WGPUTextureFormat§depthStencilFormat: WGPUTextureFormat§sampleCount: u32§depthReadOnly: WGPUBool§stencilReadOnly: WGPUBoolTrait Implementations§
Source§impl Clone for WGPURenderBundleEncoderDescriptor
impl Clone for WGPURenderBundleEncoderDescriptor
Source§fn clone(&self) -> WGPURenderBundleEncoderDescriptor
fn clone(&self) -> WGPURenderBundleEncoderDescriptor
Returns a duplicate 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 Ord for WGPURenderBundleEncoderDescriptor
impl Ord for WGPURenderBundleEncoderDescriptor
Source§fn cmp(&self, other: &WGPURenderBundleEncoderDescriptor) -> Ordering
fn cmp(&self, other: &WGPURenderBundleEncoderDescriptor) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPURenderBundleEncoderDescriptor
impl PartialEq for WGPURenderBundleEncoderDescriptor
Source§fn eq(&self, other: &WGPURenderBundleEncoderDescriptor) -> bool
fn eq(&self, other: &WGPURenderBundleEncoderDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WGPURenderBundleEncoderDescriptor
impl PartialOrd for WGPURenderBundleEncoderDescriptor
impl Copy for WGPURenderBundleEncoderDescriptor
impl Eq for WGPURenderBundleEncoderDescriptor
impl StructuralPartialEq for WGPURenderBundleEncoderDescriptor
Auto Trait Implementations§
impl Freeze for WGPURenderBundleEncoderDescriptor
impl RefUnwindSafe for WGPURenderBundleEncoderDescriptor
impl !Send for WGPURenderBundleEncoderDescriptor
impl !Sync for WGPURenderBundleEncoderDescriptor
impl Unpin for WGPURenderBundleEncoderDescriptor
impl UnwindSafe for WGPURenderBundleEncoderDescriptor
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