Enum spirv::FPDenormMode
source · #[repr(u32)]pub enum FPDenormMode {
Preserve = 0,
FlushToZero = 1,
}
Expand description
SPIR-V operand kind: FPDenormMode
Variants§
Implementations§
Trait Implementations§
source§impl Clone for FPDenormMode
impl Clone for FPDenormMode
source§fn clone(&self) -> FPDenormMode
fn clone(&self) -> FPDenormMode
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 FPDenormMode
impl Debug for FPDenormMode
source§impl FromStr for FPDenormMode
impl FromStr for FPDenormMode
source§impl Hash for FPDenormMode
impl Hash for FPDenormMode
source§impl Ord for FPDenormMode
impl Ord for FPDenormMode
source§fn cmp(&self, other: &FPDenormMode) -> Ordering
fn cmp(&self, other: &FPDenormMode) -> 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 FPDenormMode
impl PartialEq for FPDenormMode
source§fn eq(&self, other: &FPDenormMode) -> bool
fn eq(&self, other: &FPDenormMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FPDenormMode
impl PartialOrd for FPDenormMode
source§fn partial_cmp(&self, other: &FPDenormMode) -> Option<Ordering>
fn partial_cmp(&self, other: &FPDenormMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FPDenormMode
impl Eq for FPDenormMode
impl StructuralPartialEq for FPDenormMode
Auto Trait Implementations§
impl Freeze for FPDenormMode
impl RefUnwindSafe for FPDenormMode
impl Send for FPDenormMode
impl Sync for FPDenormMode
impl Unpin for FPDenormMode
impl UnwindSafe for FPDenormMode
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