#[repr(C)]pub struct FloatWrapper {
pub value: f64,
}
Expand description
Shared struct for floats types.
This is needed because f64
can’t be used directly in the UniquePtr type.
Fields§
§value: f64
Trait Implementations§
Source§impl ExternType for FloatWrapper
impl ExternType for FloatWrapper
impl UniquePtrTarget for FloatWrapper
Auto Trait Implementations§
impl Freeze for FloatWrapper
impl RefUnwindSafe for FloatWrapper
impl Send for FloatWrapper
impl Sync for FloatWrapper
impl Unpin for FloatWrapper
impl UnwindSafe for FloatWrapper
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