#[repr(C)]pub struct WGPUDawnAdapterPropertiesPowerPreference {
pub chain: WGPUChainedStruct,
pub powerPreference: c_int,
}Fields§
§chain: WGPUChainedStruct§powerPreference: c_intTrait Implementations§
Source§impl Clone for WGPUDawnAdapterPropertiesPowerPreference
impl Clone for WGPUDawnAdapterPropertiesPowerPreference
Source§fn clone(&self) -> WGPUDawnAdapterPropertiesPowerPreference
fn clone(&self) -> WGPUDawnAdapterPropertiesPowerPreference
Returns a copy 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 moreimpl Copy 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