#[repr(u32)]pub enum OverflowModes {
WRAP = 0,
SAT = 1,
SAT_ZERO = 2,
SAT_SYM = 3,
}
Expand description
SPIR-V operand kind: OverflowModes
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for OverflowModes
impl Clone for OverflowModes
Source§fn clone(&self) -> OverflowModes
fn clone(&self) -> OverflowModes
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 OverflowModes
impl Debug for OverflowModes
Source§impl FromStr for OverflowModes
impl FromStr for OverflowModes
Source§impl Hash for OverflowModes
impl Hash for OverflowModes
Source§impl Ord for OverflowModes
impl Ord for OverflowModes
Source§fn cmp(&self, other: &OverflowModes) -> Ordering
fn cmp(&self, other: &OverflowModes) -> 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 OverflowModes
impl PartialEq for OverflowModes
Source§impl PartialOrd for OverflowModes
impl PartialOrd for OverflowModes
impl Copy for OverflowModes
impl Eq for OverflowModes
impl StructuralPartialEq for OverflowModes
Auto Trait Implementations§
impl Freeze for OverflowModes
impl RefUnwindSafe for OverflowModes
impl Send for OverflowModes
impl Sync for OverflowModes
impl Unpin for OverflowModes
impl UnwindSafe for OverflowModes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)