Trait serde_v8::V8Sliceable
source · pub trait V8Sliceable: Copy + Clone {
type V8;
// Required method
fn new_buf<'s>(
scope: &mut HandleScope<'s>,
buf: Local<'_, ArrayBuffer>,
byte_offset: usize,
length: usize
) -> Option<Local<'s, Self::V8>>;
}
Expand description
A type that may be represented as a V8Slice
.
Required Associated Types§
Required Methods§
fn new_buf<'s>( scope: &mut HandleScope<'s>, buf: Local<'_, ArrayBuffer>, byte_offset: usize, length: usize ) -> Option<Local<'s, Self::V8>>
Object Safety§
This trait is not object safe.