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