#[repr(C)]pub struct JSFunctionSpec {
pub name: JSFunctionSpec_Name,
pub call: JSNativeWrapper,
pub nargs: u16,
pub flags: u16,
pub selfHostedName: *const c_char,
}
Fields§
§name: JSFunctionSpec_Name
§call: JSNativeWrapper
§nargs: u16
§flags: u16
§selfHostedName: *const c_char
Implementations§
Trait Implementations§
Source§impl Clone for JSFunctionSpec
impl Clone for JSFunctionSpec
Source§fn clone(&self) -> JSFunctionSpec
fn clone(&self) -> JSFunctionSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for JSFunctionSpec
impl Sync for JSFunctionSpec
Auto Trait Implementations§
impl Freeze for JSFunctionSpec
impl RefUnwindSafe for JSFunctionSpec
impl !Send for JSFunctionSpec
impl Unpin for JSFunctionSpec
impl UnwindSafe for JSFunctionSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more