pub enum FloatMode {
UnityPy,
Lossless,
}Expand description
How a float32 signalling NaN reaches the value.
Variants§
UnityPy
As UnityPyBoost delivers it: PyFloat_FromDouble on x86-64 quiets a
signalling NaN (7f800001 becomes 7fc00001; CANONICAL_DUMP.md
section 7). The oracle’s behaviour, and the default.
Lossless
The file’s bits; save_typetree(parse()) then round-trips them.
Trait Implementations§
impl Copy for FloatMode
impl Eq for FloatMode
impl StructuralPartialEq for FloatMode
Auto Trait Implementations§
impl Forget for FloatMode
impl Freeze for FloatMode
impl Move for FloatMode
impl RefUnwindSafe for FloatMode
impl Send for FloatMode
impl Sync for FloatMode
impl Unpin for FloatMode
impl UnsafeUnpin for FloatMode
impl UnwindSafe for FloatMode
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