Struct deno_core::op_resources
source · [−]pub struct op_resources;
Implementations
sourceimpl op_resources
impl op_resources
pub fn name() -> &'static str
pub fn v8_fn_ptr() -> FunctionCallback
pub fn decl() -> OpDecl
sourcepub fn call(state: &mut OpState) -> Result<Vec<(ResourceId, String)>, Error>
pub fn call(state: &mut OpState) -> Result<Vec<(ResourceId, String)>, Error>
Return map of resources with id as key and string representation as value.
pub fn v8_func(
scope: &mut HandleScope<'_>,
args: FunctionCallbackArguments<'_>,
rv: ReturnValue<'_>
)
Auto Trait Implementations
impl RefUnwindSafe for op_resources
impl Send for op_resources
impl Sync for op_resources
impl Unpin for op_resources
impl UnwindSafe for op_resources
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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