#[repr(C)]pub struct WGPUSupportedWGSLLanguageFeatures {
pub featureCount: usize,
pub features: *const WGPUWGSLLanguageFeatureName,
}Fields§
§featureCount: usize§features: *const WGPUWGSLLanguageFeatureNameTrait Implementations§
Source§impl Clone for WGPUSupportedWGSLLanguageFeatures
impl Clone for WGPUSupportedWGSLLanguageFeatures
Source§fn clone(&self) -> WGPUSupportedWGSLLanguageFeatures
fn clone(&self) -> WGPUSupportedWGSLLanguageFeatures
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 WGPUSupportedWGSLLanguageFeatures
impl Ord for WGPUSupportedWGSLLanguageFeatures
Source§fn cmp(&self, other: &WGPUSupportedWGSLLanguageFeatures) -> Ordering
fn cmp(&self, other: &WGPUSupportedWGSLLanguageFeatures) -> 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 WGPUSupportedWGSLLanguageFeatures
impl PartialEq for WGPUSupportedWGSLLanguageFeatures
Source§fn eq(&self, other: &WGPUSupportedWGSLLanguageFeatures) -> bool
fn eq(&self, other: &WGPUSupportedWGSLLanguageFeatures) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WGPUSupportedWGSLLanguageFeatures
impl PartialOrd for WGPUSupportedWGSLLanguageFeatures
impl Copy for WGPUSupportedWGSLLanguageFeatures
impl Eq for WGPUSupportedWGSLLanguageFeatures
impl StructuralPartialEq for WGPUSupportedWGSLLanguageFeatures
Auto Trait Implementations§
impl Freeze for WGPUSupportedWGSLLanguageFeatures
impl RefUnwindSafe for WGPUSupportedWGSLLanguageFeatures
impl !Send for WGPUSupportedWGSLLanguageFeatures
impl !Sync for WGPUSupportedWGSLLanguageFeatures
impl Unpin for WGPUSupportedWGSLLanguageFeatures
impl UnwindSafe for WGPUSupportedWGSLLanguageFeatures
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