#[repr(C)]pub struct QuotationData {
pub wrapper: usize,
pub impl_: usize,
}Expand description
Quotation data stored on the heap for NaN-boxing
In the 40-byte Value, Quotation stored two pointers inline. With NaN-boxing, we need to heap-allocate this struct.
Fields§
§wrapper: usizeC-convention wrapper function pointer (for runtime calls)
impl_: usizetailcc implementation function pointer (for musttail from compiled code)
Trait Implementations§
Source§impl Clone for QuotationData
impl Clone for QuotationData
Source§fn clone(&self) -> QuotationData
fn clone(&self) -> QuotationData
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for QuotationData
impl RefUnwindSafe for QuotationData
impl Send for QuotationData
impl Sync for QuotationData
impl Unpin for QuotationData
impl UnwindSafe for QuotationData
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