pub struct OpState {
pub resource_table: ResourceTable,
pub op_table: OpTable,
pub get_error_class_fn: GetErrorClassFn,
/* private fields */
}
Expand description
Maintains the resources and ops inside a JS runtime.
Fields
resource_table: ResourceTable
op_table: OpTable
get_error_class_fn: GetErrorClassFn
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for OpState
impl !Send for OpState
impl !Sync for OpState
impl Unpin for OpState
impl !UnwindSafe for OpState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more