#[repr(transparent)]pub struct cudaRoundMode(pub c_uint);Expand description
Floating-point rounding direction for CUDA conversion operations.
Tuple Fields§
§0: c_uintImplementations§
Source§impl cudaRoundMode
impl cudaRoundMode
Sourcepub const cudaRoundNearest: cudaRoundMode
pub const cudaRoundNearest: cudaRoundMode
Rounds to the nearest representable value.
Sourcepub const cudaRoundZero: cudaRoundMode
pub const cudaRoundZero: cudaRoundMode
Rounds toward zero.
Sourcepub const cudaRoundPosInf: cudaRoundMode
pub const cudaRoundPosInf: cudaRoundMode
Rounds toward positive infinity.
Sourcepub const cudaRoundMinInf: cudaRoundMode
pub const cudaRoundMinInf: cudaRoundMode
Rounds toward negative infinity.
Trait Implementations§
Source§impl Clone for cudaRoundMode
impl Clone for cudaRoundMode
impl Copy for cudaRoundMode
Source§impl Debug for cudaRoundMode
impl Debug for cudaRoundMode
impl Eq for cudaRoundMode
Source§impl Hash for cudaRoundMode
impl Hash for cudaRoundMode
Source§impl Ord for cudaRoundMode
impl Ord for cudaRoundMode
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for cudaRoundMode
impl PartialEq for cudaRoundMode
Source§impl PartialOrd for cudaRoundMode
impl PartialOrd for cudaRoundMode
impl StructuralPartialEq for cudaRoundMode
Auto Trait Implementations§
impl Forget for cudaRoundMode
impl Freeze for cudaRoundMode
impl Move for cudaRoundMode
impl RefUnwindSafe for cudaRoundMode
impl Send for cudaRoundMode
impl Sync for cudaRoundMode
impl Unpin for cudaRoundMode
impl UnsafeUnpin for cudaRoundMode
impl UnwindSafe for cudaRoundMode
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