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