#[repr(transparent)]pub struct WGPUPresentMode(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUPresentMode
impl WGPUPresentMode
pub const Undefined: Self = raw::WGPUPresentMode_WGPUPresentMode_Undefined
pub const Fifo: Self = raw::WGPUPresentMode_WGPUPresentMode_Fifo
pub const FifoRelaxed: Self = raw::WGPUPresentMode_WGPUPresentMode_FifoRelaxed
pub const Immediate: Self = raw::WGPUPresentMode_WGPUPresentMode_Immediate
pub const Mailbox: Self = raw::WGPUPresentMode_WGPUPresentMode_Mailbox
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