pub struct OpState {
pub resource_table: ResourceTable,
pub waker: Arc<AtomicWaker>,
pub feature_checker: Arc<FeatureChecker>,
/* private fields */
}
Expand description
Maintains the resources and ops inside a JS runtime.
Fields§
§resource_table: ResourceTable
§waker: Arc<AtomicWaker>
§feature_checker: Arc<FeatureChecker>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpState
impl !RefUnwindSafe for OpState
impl !Send for OpState
impl !Sync for OpState
impl Unpin for OpState
impl !UnwindSafe for OpState
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