#[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 (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 WGPURenderBundleEncoderDescriptor
impl Eq for WGPURenderBundleEncoderDescriptor
Source§impl Ord for WGPURenderBundleEncoderDescriptor
impl Ord for WGPURenderBundleEncoderDescriptor
Source§fn cmp(&self, other: &WGPURenderBundleEncoderDescriptor) -> Ordering
fn cmp(&self, other: &WGPURenderBundleEncoderDescriptor) -> Ordering
1.21.0 (const: unstable) · 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 PartialOrd for WGPURenderBundleEncoderDescriptor
impl PartialOrd for WGPURenderBundleEncoderDescriptor
impl StructuralPartialEq for WGPURenderBundleEncoderDescriptor
Auto Trait Implementations§
impl !Send for WGPURenderBundleEncoderDescriptor
impl !Sync for WGPURenderBundleEncoderDescriptor
impl Freeze for WGPURenderBundleEncoderDescriptor
impl RefUnwindSafe for WGPURenderBundleEncoderDescriptor
impl Unpin for WGPURenderBundleEncoderDescriptor
impl UnsafeUnpin 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