enum FloatUnaryOp {
Sqrt,
Rcp,
Rsqrt,
}
Variants§
Sqrt
Rcp
Approximation of 1/x
https://www.felixcloutier.com/x86/rcpss https://www.felixcloutier.com/x86/rcpps
Rsqrt
Approximation of 1/sqrt(x)
https://www.felixcloutier.com/x86/rsqrtss https://www.felixcloutier.com/x86/rsqrtps
Trait Implementations§
source§impl Clone for FloatUnaryOp
impl Clone for FloatUnaryOp
source§fn clone(&self) -> FloatUnaryOp
fn clone(&self) -> FloatUnaryOp
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 moreimpl Copy for FloatUnaryOp
Auto Trait Implementations§
impl RefUnwindSafe for FloatUnaryOp
impl Send for FloatUnaryOp
impl Sync for FloatUnaryOp
impl Unpin for FloatUnaryOp
impl UnwindSafe for FloatUnaryOp
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Sqrt
: 0 bytesRcp
: 0 bytesRsqrt
: 0 bytes