#[repr(C)]pub struct FastApiCallbackOptions<'a> {
pub isolate: *mut Isolate,
pub data: Local<'a, Value>,
}
Expand description
A struct which may be passed to a fast call callback, like so
void FastMethodWithOptions(int param, FastApiCallbackOptions& options);
Fields§
§isolate: *mut Isolate
§data: Local<'a, Value>
The data
passed to the FunctionTemplate constructor, or undefined
.
Auto Trait Implementations§
impl<'a> Freeze for FastApiCallbackOptions<'a>
impl<'a> RefUnwindSafe for FastApiCallbackOptions<'a>
impl<'a> !Send for FastApiCallbackOptions<'a>
impl<'a> !Sync for FastApiCallbackOptions<'a>
impl<'a> Unpin for FastApiCallbackOptions<'a>
impl<'a> UnwindSafe for FastApiCallbackOptions<'a>
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