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