pub struct OpDecl {
pub name: &'static str,
pub v8_fn_ptr: FunctionCallback,
pub enabled: bool,
pub is_async: bool,
pub is_unstable: bool,
pub argc: usize,
pub is_v8: bool,
pub fast_fn: Option<Box<dyn FastFunction>>,
}
Fields
name: &'static str
v8_fn_ptr: FunctionCallback
enabled: bool
is_async: bool
is_unstable: bool
argc: usize
V8 argument count. Used as an optimization
hint by core.initalizeAsyncOps
.
is_v8: bool
fast_fn: Option<Box<dyn FastFunction>>
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for OpDecl
impl !Send for OpDecl
impl !Sync for OpDecl
impl Unpin for OpDecl
impl !UnwindSafe for OpDecl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more