pub struct ResultF64Str {
pub tag: u8,
pub _pad: [u8; 7],
/* private fields */
}Expand description
Result<f64, *const StringObj> — Ok is f64, Err is string pointer.
§Memory layout (16 bytes)
Offset Size Field
------ ---- -----
0 1 tag (0=Ok, 1=Err)
1 7 _pad
8 8 payload (f64 or *const StringObj)Fields§
§tag: u8§_pad: [u8; 7]Implementations§
Auto Trait Implementations§
impl Freeze for ResultF64Str
impl RefUnwindSafe for ResultF64Str
impl Send for ResultF64Str
impl Sync for ResultF64Str
impl Unpin for ResultF64Str
impl UnsafeUnpin for ResultF64Str
impl UnwindSafe for ResultF64Str
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