#[repr(transparent)]pub struct WGPUPresentMode(pub c_int);Tuple Fields§
§0: c_intImplementations§
Source§impl WGPUPresentMode
impl WGPUPresentMode
pub const WGPUPresentMode_Undefined: WGPUPresentMode
Source§impl WGPUPresentMode
impl WGPUPresentMode
pub const WGPUPresentMode_Fifo: WGPUPresentMode
Source§impl WGPUPresentMode
impl WGPUPresentMode
pub const WGPUPresentMode_Immediate: WGPUPresentMode
Source§impl WGPUPresentMode
impl WGPUPresentMode
pub const WGPUPresentMode_Mailbox: WGPUPresentMode
Source§impl WGPUPresentMode
impl WGPUPresentMode
pub const WGPUPresentMode_Force32: WGPUPresentMode
Trait Implementations§
Source§impl Clone for WGPUPresentMode
impl Clone for WGPUPresentMode
Source§fn clone(&self) -> WGPUPresentMode
fn clone(&self) -> WGPUPresentMode
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 Debug for WGPUPresentMode
impl Debug for WGPUPresentMode
Source§impl Hash for WGPUPresentMode
impl Hash for WGPUPresentMode
Source§impl Ord for WGPUPresentMode
impl Ord for WGPUPresentMode
Source§fn cmp(&self, other: &WGPUPresentMode) -> Ordering
fn cmp(&self, other: &WGPUPresentMode) -> 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 WGPUPresentMode
impl PartialEq for WGPUPresentMode
Source§impl PartialOrd for WGPUPresentMode
impl PartialOrd for WGPUPresentMode
impl Copy for WGPUPresentMode
impl Eq for WGPUPresentMode
impl StructuralPartialEq for WGPUPresentMode
Auto Trait Implementations§
impl Freeze for WGPUPresentMode
impl RefUnwindSafe for WGPUPresentMode
impl Send for WGPUPresentMode
impl Sync for WGPUPresentMode
impl Unpin for WGPUPresentMode
impl UnwindSafe for WGPUPresentMode
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