#[repr(u32)]pub enum WGPUPresentMode {
Undefined = 0,
Fifo = 1,
FifoRelaxed = 2,
Immediate = 3,
Mailbox = 4,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WGPUPresentMode
impl Clone for WGPUPresentMode
Source§fn clone(&self) -> WGPUPresentMode
fn clone(&self) -> WGPUPresentMode
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 moreSource§impl Debug for WGPUPresentMode
impl Debug for WGPUPresentMode
Source§impl Display for WGPUPresentMode
impl Display for WGPUPresentMode
Source§impl<'_derivative_strum> From<&'_derivative_strum WGPUPresentMode> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum WGPUPresentMode> for &'static str
Source§fn from(x: &'_derivative_strum WGPUPresentMode) -> &'static str
fn from(x: &'_derivative_strum WGPUPresentMode) -> &'static str
Converts to this type from the input type.
Source§impl From<WGPUPresentMode> for &'static str
impl From<WGPUPresentMode> for &'static str
Source§fn from(x: WGPUPresentMode) -> &'static str
fn from(x: WGPUPresentMode) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for WGPUPresentMode
impl FromStr for WGPUPresentMode
Source§impl Hash for WGPUPresentMode
impl Hash for WGPUPresentMode
Source§impl PartialEq for WGPUPresentMode
impl PartialEq for WGPUPresentMode
Source§impl TryFrom<&str> for WGPUPresentMode
impl TryFrom<&str> 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