Enum spirv::QuantizationModes
source · #[repr(u32)]pub enum QuantizationModes {
TRN = 0,
TRN_ZERO = 1,
RND = 2,
RND_ZERO = 3,
RND_INF = 4,
RND_MIN_INF = 5,
RND_CONV = 6,
RND_CONV_ODD = 7,
}
Expand description
SPIR-V operand kind: QuantizationModes
Variants§
TRN = 0
TRN_ZERO = 1
RND = 2
RND_ZERO = 3
RND_INF = 4
RND_MIN_INF = 5
RND_CONV = 6
RND_CONV_ODD = 7
Implementations§
Trait Implementations§
source§impl Clone for QuantizationModes
impl Clone for QuantizationModes
source§fn clone(&self) -> QuantizationModes
fn clone(&self) -> QuantizationModes
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 QuantizationModes
impl Debug for QuantizationModes
source§impl FromStr for QuantizationModes
impl FromStr for QuantizationModes
source§impl Hash for QuantizationModes
impl Hash for QuantizationModes
source§impl Ord for QuantizationModes
impl Ord for QuantizationModes
source§fn cmp(&self, other: &QuantizationModes) -> Ordering
fn cmp(&self, other: &QuantizationModes) -> 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 QuantizationModes
impl PartialEq for QuantizationModes
source§impl PartialOrd for QuantizationModes
impl PartialOrd for QuantizationModes
impl Copy for QuantizationModes
impl Eq for QuantizationModes
impl StructuralPartialEq for QuantizationModes
Auto Trait Implementations§
impl Freeze for QuantizationModes
impl RefUnwindSafe for QuantizationModes
impl Send for QuantizationModes
impl Sync for QuantizationModes
impl Unpin for QuantizationModes
impl UnwindSafe for QuantizationModes
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
)