#[repr(C)]pub struct JSStructuredCloneData {
pub bufList_: JSStructuredCloneData_BufferList,
pub scope_: StructuredCloneScope,
pub callbacks_: *const JSStructuredCloneCallbacks,
pub closure_: *mut c_void,
pub ownTransferables_: OwnTransferablePolicy,
pub refsHeld_: SharedArrayRawBufferRefs,
pub stringBufferRefsHeld_: JSStructuredCloneData_StringBuffers,
}
Expand description
JSStructuredCloneData represents structured clone data together with the information needed to read/write/transfer/free the records within it, in the form of a set of callbacks.
Fields§
§bufList_: JSStructuredCloneData_BufferList
§scope_: StructuredCloneScope
§callbacks_: *const JSStructuredCloneCallbacks
§closure_: *mut c_void
§ownTransferables_: OwnTransferablePolicy
§refsHeld_: SharedArrayRawBufferRefs
§stringBufferRefsHeld_: JSStructuredCloneData_StringBuffers
Trait Implementations§
Source§impl Debug for JSStructuredCloneData
impl Debug for JSStructuredCloneData
Source§impl PartialEq for JSStructuredCloneData
impl PartialEq for JSStructuredCloneData
impl StructuralPartialEq for JSStructuredCloneData
Auto Trait Implementations§
impl Freeze for JSStructuredCloneData
impl RefUnwindSafe for JSStructuredCloneData
impl !Send for JSStructuredCloneData
impl !Sync for JSStructuredCloneData
impl Unpin for JSStructuredCloneData
impl UnwindSafe for JSStructuredCloneData
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
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more