pub trait FromJSValConvertible: Sized {
    type Config;

    unsafe fn from_jsval(
        cx: *mut JSContext,
        val: Handle<'_, Value>,
        option: Self::Config
    ) -> Result<ConversionResult<Self>, ()>; }
Expand description

A trait to convert JSVals to Rust types.

Required Associated Types§

source

type Config

Optional configurable behaviour switch; use () for no configuration.

Required Methods§

source

unsafe fn from_jsval(
    cx: *mut JSContext,
    val: Handle<'_, Value>,
    option: Self::Config
) -> Result<ConversionResult<Self>, ()>

Convert val to type Self. Optional configuration of type T can be passed as the option argument. If it returns Err(()), a JSAPI exception is pending. If it returns Ok(Failure(reason)), there is no pending JSAPI exception.

Implementations on Foreign Types§

source§

impl FromJSValConvertible for u64

§

type Config = ConversionBehavior

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    val: Handle<'_, Value>,
    option: ConversionBehavior
) -> Result<ConversionResult<u64>, ()>

source§

impl FromJSValConvertible for String

§

type Config = ()

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    value: Handle<'_, Value>,
    _: ()
) -> Result<ConversionResult<String>, ()>

source§

impl FromJSValConvertible for *mut JSObject

§

type Config = ()

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    value: Handle<'_, Value>,
    _option: ()
) -> Result<ConversionResult<*mut JSObject>, ()>

source§

impl FromJSValConvertible for u8

§

type Config = ConversionBehavior

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    val: Handle<'_, Value>,
    option: ConversionBehavior
) -> Result<ConversionResult<u8>, ()>

source§

impl FromJSValConvertible for i32

§

type Config = ConversionBehavior

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    val: Handle<'_, Value>,
    option: ConversionBehavior
) -> Result<ConversionResult<i32>, ()>

source§

impl FromJSValConvertible for *mut Symbol

§

type Config = ()

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    value: Handle<'_, Value>,
    _option: ()
) -> Result<ConversionResult<*mut Symbol>, ()>

source§

impl FromJSValConvertible for f64

§

type Config = ()

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    val: Handle<'_, Value>,
    _option: ()
) -> Result<ConversionResult<f64>, ()>

source§

impl FromJSValConvertible for i16

§

type Config = ConversionBehavior

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    val: Handle<'_, Value>,
    option: ConversionBehavior
) -> Result<ConversionResult<i16>, ()>

source§

impl FromJSValConvertible for bool

§

type Config = ()

source§

unsafe fn from_jsval(
    _cx: *mut JSContext,
    val: Handle<'_, Value>,
    _option: ()
) -> Result<ConversionResult<bool>, ()>

source§

impl FromJSValConvertible for f32

§

type Config = ()

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    val: Handle<'_, Value>,
    _option: ()
) -> Result<ConversionResult<f32>, ()>

source§

impl FromJSValConvertible for i8

§

type Config = ConversionBehavior

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    val: Handle<'_, Value>,
    option: ConversionBehavior
) -> Result<ConversionResult<i8>, ()>

source§

impl<C, T> FromJSValConvertible for Vec<T, Global>where
    C: Clone,
    T: FromJSValConvertible<Config = C>,

§

type Config = C

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    value: Handle<'_, Value>,
    option: C
) -> Result<ConversionResult<Vec<T, Global>>, ()>

source§

impl FromJSValConvertible for i64

§

type Config = ConversionBehavior

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    val: Handle<'_, Value>,
    option: ConversionBehavior
) -> Result<ConversionResult<i64>, ()>

source§

impl<T> FromJSValConvertible for Option<T>where
    T: FromJSValConvertible,

§

type Config = <T as FromJSValConvertible>::Config

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    value: Handle<'_, Value>,
    option: <T as FromJSValConvertible>::Config
) -> Result<ConversionResult<Option<T>>, ()>

source§

impl FromJSValConvertible for u16

§

type Config = ConversionBehavior

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    val: Handle<'_, Value>,
    option: ConversionBehavior
) -> Result<ConversionResult<u16>, ()>

source§

impl FromJSValConvertible for u32

§

type Config = ConversionBehavior

source§

unsafe fn from_jsval(
    cx: *mut JSContext,
    val: Handle<'_, Value>,
    option: ConversionBehavior
) -> Result<ConversionResult<u32>, ()>

source§

impl FromJSValConvertible for Value

§

type Config = ()

source§

unsafe fn from_jsval(
    _cx: *mut JSContext,
    value: Handle<'_, Value>,
    _option: ()
) -> Result<ConversionResult<Value>, ()>

Implementors§

source§

impl FromJSValConvertible for AudioContextLatencyCategory

§

type Config = ()

source§

impl FromJSValConvertible for ChannelCountMode

§

type Config = ()

source§

impl FromJSValConvertible for ChannelInterpretation

§

type Config = ()

source§

impl FromJSValConvertible for AutomationRate

§

type Config = ()

source§

impl FromJSValConvertible for AudioContextState

§

type Config = ()

source§

impl FromJSValConvertible for BiquadFilterType

§

type Config = ()

source§

impl FromJSValConvertible for CanvasDirection

§

type Config = ()

source§

impl FromJSValConvertible for CanvasFillRule

§

type Config = ()

source§

impl FromJSValConvertible for CanvasLineCap

§

type Config = ()

source§

impl FromJSValConvertible for CanvasLineJoin

§

type Config = ()

source§

impl FromJSValConvertible for CanvasTextAlign

§

type Config = ()

source§

impl FromJSValConvertible for CanvasTextBaseline

§

type Config = ()

source§

impl FromJSValConvertible for FrameType

§

type Config = ()

source§

impl FromJSValConvertible for SupportedType

§

type Config = ()

source§

impl FromJSValConvertible for DocumentReadyState

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRRegionType

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRButtonType

§

type Config = ()

source§

impl FromJSValConvertible for GamepadHand

§

type Config = ()

source§

impl FromJSValConvertible for SelectionMode

§

type Config = ()

source§

impl FromJSValConvertible for CanPlayTypeResult

§

type Config = ()

source§

impl FromJSValConvertible for ColorSpaceConversion

§

type Config = ()

source§

impl FromJSValConvertible for ImageOrientation

§

type Config = ()

source§

impl FromJSValConvertible for PremultiplyAlpha

§

type Config = ()

source§

impl FromJSValConvertible for ResizeQuality

§

type Config = ()

source§

impl FromJSValConvertible for MediaDeviceKind

§

type Config = ()

source§

impl FromJSValConvertible for MediaSessionAction

§

type Config = ()

source§

impl FromJSValConvertible for MediaSessionPlaybackState

§

type Config = ()

source§

impl FromJSValConvertible for OscillatorType

§

type Config = ()

source§

impl FromJSValConvertible for DistanceModelType

§

type Config = ()

source§

impl FromJSValConvertible for PanningModelType

§

type Config = ()

source§

impl FromJSValConvertible for NavigationType

§

type Config = ()

source§

impl FromJSValConvertible for PermissionName

§

type Config = ()

source§

impl FromJSValConvertible for PermissionState

§

type Config = ()

source§

impl FromJSValConvertible for RTCDataChannelState

§

type Config = ()

source§

impl FromJSValConvertible for RTCErrorDetailType

§

type Config = ()

source§

impl FromJSValConvertible for RTCBundlePolicy

§

type Config = ()

source§

impl FromJSValConvertible for RTCIceConnectionState

§

type Config = ()

source§

impl FromJSValConvertible for RTCIceCredentialType

§

type Config = ()

source§

impl FromJSValConvertible for RTCIceGatheringState

§

type Config = ()

source§

impl FromJSValConvertible for RTCIceTransportPolicy

§

type Config = ()

source§

impl FromJSValConvertible for RTCRtcpMuxPolicy

§

type Config = ()

source§

impl FromJSValConvertible for RTCSignalingState

§

type Config = ()

source§

impl FromJSValConvertible for RTCRtpTransceiverDirection

§

type Config = ()

source§

impl FromJSValConvertible for RTCSdpType

§

type Config = ()

source§

impl FromJSValConvertible for ReferrerPolicy

§

type Config = ()

source§

impl FromJSValConvertible for RequestCache

§

type Config = ()

source§

impl FromJSValConvertible for RequestCredentials

§

type Config = ()

source§

impl FromJSValConvertible for RequestDestination

§

type Config = ()

source§

impl FromJSValConvertible for RequestMode

§

type Config = ()

source§

impl FromJSValConvertible for RequestRedirect

§

type Config = ()

source§

impl FromJSValConvertible for ResponseType

§

type Config = ()

source§

impl FromJSValConvertible for ServiceWorkerState

§

type Config = ()

source§

impl FromJSValConvertible for ServiceWorkerUpdateViaCache

§

type Config = ()

source§

impl FromJSValConvertible for ShadowRootMode

§

type Config = ()

source§

impl FromJSValConvertible for TestEnum

§

type Config = ()

source§

impl FromJSValConvertible for TextTrackKind

§

type Config = ()

source§

impl FromJSValConvertible for TextTrackMode

§

type Config = ()

source§

impl FromJSValConvertible for AlignSetting

§

type Config = ()

source§

impl FromJSValConvertible for AutoKeyword

§

type Config = ()

source§

impl FromJSValConvertible for DirectionSetting

§

type Config = ()

source§

impl FromJSValConvertible for LineAlignSetting

§

type Config = ()

source§

impl FromJSValConvertible for PositionAlignSetting

§

type Config = ()

source§

impl FromJSValConvertible for ScrollSetting

§

type Config = ()

source§

impl FromJSValConvertible for GPUAddressMode

§

type Config = ()

source§

impl FromJSValConvertible for GPUAutoLayoutMode

§

type Config = ()

source§

impl FromJSValConvertible for GPUBlendFactor

§

type Config = ()

source§

impl FromJSValConvertible for GPUBlendOperation

§

type Config = ()

source§

impl FromJSValConvertible for GPUBufferBindingType

§

type Config = ()

source§

impl FromJSValConvertible for GPUCanvasAlphaMode

§

type Config = ()

source§

impl FromJSValConvertible for GPUCompareFunction

§

type Config = ()

source§

impl FromJSValConvertible for GPUCompilationMessageType

§

type Config = ()

source§

impl FromJSValConvertible for GPUCullMode

§

type Config = ()

source§

impl FromJSValConvertible for GPUDeviceLostReason

§

type Config = ()

source§

impl FromJSValConvertible for GPUErrorFilter

§

type Config = ()

source§

impl FromJSValConvertible for GPUFeatureName

§

type Config = ()

source§

impl FromJSValConvertible for GPUFilterMode

§

type Config = ()

source§

impl FromJSValConvertible for GPUFrontFace

§

type Config = ()

source§

impl FromJSValConvertible for GPUIndexFormat

§

type Config = ()

source§

impl FromJSValConvertible for GPULoadOp

§

type Config = ()

source§

impl FromJSValConvertible for GPUPipelineStatisticName

§

type Config = ()

source§

impl FromJSValConvertible for GPUPowerPreference

§

type Config = ()

source§

impl FromJSValConvertible for GPUPrimitiveTopology

§

type Config = ()

source§

impl FromJSValConvertible for GPUQueryType

§

type Config = ()

source§

impl FromJSValConvertible for GPUSamplerBindingType

§

type Config = ()

source§

impl FromJSValConvertible for GPUStencilOperation

§

type Config = ()

source§

impl FromJSValConvertible for GPUStorageTextureAccess

§

type Config = ()

source§

impl FromJSValConvertible for GPUStoreOp

§

type Config = ()

source§

impl FromJSValConvertible for GPUTextureAspect

§

type Config = ()

source§

impl FromJSValConvertible for GPUTextureDimension

§

type Config = ()

source§

impl FromJSValConvertible for GPUTextureFormat

§

type Config = ()

source§

impl FromJSValConvertible for GPUTextureSampleType

§

type Config = ()

source§

impl FromJSValConvertible for GPUTextureViewDimension

§

type Config = ()

source§

impl FromJSValConvertible for GPUVertexFormat

§

type Config = ()

source§

impl FromJSValConvertible for GPUVertexStepMode

§

type Config = ()

source§

impl FromJSValConvertible for BinaryType

§

type Config = ()

source§

impl FromJSValConvertible for ScrollBehavior

§

type Config = ()

source§

impl FromJSValConvertible for WorkerType

§

type Config = ()

source§

impl FromJSValConvertible for XMLHttpRequestResponseType

§

type Config = ()

source§

impl FromJSValConvertible for XRHitTestTrackableType

§

type Config = ()

source§

impl FromJSValConvertible for XRHandedness

§

type Config = ()

source§

impl FromJSValConvertible for XRTargetRayMode

§

type Config = ()

source§

impl FromJSValConvertible for XRReferenceSpaceType

§

type Config = ()

source§

impl FromJSValConvertible for XREnvironmentBlendMode

§

type Config = ()

source§

impl FromJSValConvertible for XRVisibilityState

§

type Config = ()

source§

impl FromJSValConvertible for XRSessionMode

§

type Config = ()

source§

impl FromJSValConvertible for XREye

§

type Config = ()

source§

impl FromJSValConvertible for XRLayerLayout

§

type Config = ()

source§

impl FromJSValConvertible for XRTextureType

§

type Config = ()

source§

impl FromJSValConvertible for AddEventListenerOptionsOrBoolean

§

type Config = ()

source§

impl FromJSValConvertible for ArrayBufferOrArrayBufferView

§

type Config = ()

source§

impl FromJSValConvertible for ArrayBufferOrArrayBufferViewOrBlobOrString

§

type Config = ()

source§

impl FromJSValConvertible for ArrayBufferViewOrArrayBuffer

§

type Config = ()

source§

impl FromJSValConvertible for AudioContextLatencyCategoryOrDouble

§

type Config = ()

source§

impl FromJSValConvertible for BlobOrBlobSequence

§

type Config = ()

source§

impl FromJSValConvertible for BlobOrBoolean

§

type Config = ()

source§

impl FromJSValConvertible for BlobOrBufferSourceOrFormDataOrStringOrURLSearchParams

§

type Config = ()

source§

impl FromJSValConvertible for BlobOrString

§

type Config = ()

source§

impl FromJSValConvertible for BlobOrUnsignedLong

§

type Config = ()

source§

impl FromJSValConvertible for BooleanOrMediaTrackConstraints

§

type Config = ()

source§

impl FromJSValConvertible for ByteStringOrLong

§

type Config = ()

source§

impl FromJSValConvertible for ByteStringSequenceOrLong

§

type Config = ()

source§

impl FromJSValConvertible for ByteStringSequenceOrLongOrString

§

type Config = ()

source§

impl FromJSValConvertible for ByteStringSequenceSequenceOrByteStringByteStringRecord

§

type Config = ()

source§

impl FromJSValConvertible for CanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContextOrGPUCanvasContext

§

type Config = ()

source§

impl FromJSValConvertible for ClampedUnsignedLongOrConstrainULongRange

§

type Config = ()

source§

impl FromJSValConvertible for DocumentOrTestTypedef

§

type Config = ()

source§

impl FromJSValConvertible for DocumentOrXMLHttpRequestBodyInit

§

type Config = ()

source§

impl FromJSValConvertible for DoubleOrAutoKeyword

§

type Config = ()

source§

impl FromJSValConvertible for DoubleOrConstrainDoubleRange

§

type Config = ()

source§

impl FromJSValConvertible for DoubleSequenceOrGPUColorDict

§

type Config = ()

source§

impl FromJSValConvertible for EventListenerOptionsOrBoolean

§

type Config = ()

source§

impl FromJSValConvertible for EventOrString

§

type Config = ()

source§

impl FromJSValConvertible for EventOrUSVString

§

type Config = ()

source§

impl FromJSValConvertible for FileOrUSVString

§

type Config = ()

source§

impl FromJSValConvertible for Float32ArrayOrUnrestrictedFloatSequence

§

type Config = ()

source§

impl FromJSValConvertible for GPUOutOfMemoryErrorOrGPUValidationError

§

type Config = ()

source§

impl FromJSValConvertible for GPUPipelineLayoutOrGPUAutoLayoutMode

§

type Config = ()

source§

impl FromJSValConvertible for GPUSamplerOrGPUTextureViewOrGPUBufferBinding

§

type Config = ()

source§

impl FromJSValConvertible for HTMLCanvasElementOrOffscreenCanvas

§

type Config = ()

source§

impl FromJSValConvertible for HTMLElementOrLong

§

type Config = ()

source§

impl FromJSValConvertible for HTMLElementOrUnsignedLongOrStringOrBoolean

§

type Config = ()

source§

impl FromJSValConvertible for HTMLOptionElementOrHTMLOptGroupElement

§

type Config = ()

source§

impl FromJSValConvertible for HTMLOrSVGImageElementOrHTMLCanvasElementOrOffscreenCanvasOrCSSStyleValue

§

type Config = ()

source§

impl FromJSValConvertible for HTMLOrSVGImageElementOrHTMLCanvasElementOrOffscreenCanvasOrCSSStyleValueOrBlobOrImageData

§

type Config = ()

source§

impl FromJSValConvertible for ImageBitmapOrHTMLCanvasElementOrOffscreenCanvas

§

type Config = ()

source§

impl FromJSValConvertible for ImageDataOrHTMLImageElementOrHTMLCanvasElementOrHTMLVideoElement

§

type Config = ()

source§

impl FromJSValConvertible for Int32ArrayOrLongSequence

§

type Config = ()

source§

impl FromJSValConvertible for LongOrLongSequenceSequence

§

type Config = ()

source§

impl FromJSValConvertible for LongOrStringByteStringRecord

§

type Config = ()

source§

impl FromJSValConvertible for LongSequenceOrBoolean

§

type Config = ()

source§

impl FromJSValConvertible for LongSequenceOrTestTypedef

§

type Config = ()

source§

impl FromJSValConvertible for MediaStreamOrBlob

§

type Config = ()

source§

impl FromJSValConvertible for MediaStreamTrackOrString

§

type Config = ()

source§

impl FromJSValConvertible for NodeOrString

§

type Config = ()

source§

impl FromJSValConvertible for OffscreenCanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContext

§

type Config = ()

source§

impl FromJSValConvertible for RadioNodeListOrElement

§

type Config = ()

source§

impl FromJSValConvertible for RangeEnforcedUnsignedLongSequenceOrGPUExtent3DDict

§

type Config = ()

source§

impl FromJSValConvertible for RangeEnforcedUnsignedLongSequenceOrGPUOrigin2DDict

§

type Config = ()

source§

impl FromJSValConvertible for RangeEnforcedUnsignedLongSequenceOrGPUOrigin3DDict

§

type Config = ()

source§

impl FromJSValConvertible for ReadableStreamOrXMLHttpRequestBodyInit

§

type Config = ()

source§

impl FromJSValConvertible for RequestOrUSVString

§

type Config = ()

source§

impl FromJSValConvertible for StringOrBoolean

§

type Config = ()

source§

impl FromJSValConvertible for StringOrCanvasGradientOrCanvasPattern

§

type Config = ()

source§

impl FromJSValConvertible for StringOrElementCreationOptions

§

type Config = ()

source§

impl FromJSValConvertible for StringOrFunction

§

type Config = ()

source§

impl FromJSValConvertible for StringOrLongSequence

§

type Config = ()

source§

impl FromJSValConvertible for StringOrObject

§

type Config = ()

source§

impl FromJSValConvertible for StringOrStringSequence

§

type Config = ()

source§

impl FromJSValConvertible for StringOrURLOrBlob

§

type Config = ()

source§

impl FromJSValConvertible for StringOrUnrestrictedDoubleSequence

§

type Config = ()

source§

impl FromJSValConvertible for StringOrUnsignedLong

§

type Config = ()

source§

impl FromJSValConvertible for StringSequenceOrUnsignedLong

§

type Config = ()

source§

impl FromJSValConvertible for TestBindingOrByteStringSequenceSequenceOrStringByteStringRecord

§

type Config = ()

source§

impl FromJSValConvertible for TestBindingOrStringByteStringRecord

§

type Config = ()

source§

impl FromJSValConvertible for TestDictionaryOrLong

§

type Config = ()

source§

impl FromJSValConvertible for USVStringSequenceSequenceOrUSVStringUSVStringRecordOrUSVString

§

type Config = ()

source§

impl FromJSValConvertible for Uint32ArrayOrUnsignedLongSequence

§

type Config = ()

source§

impl FromJSValConvertible for UnsignedLongOrBoolean

§

type Config = ()

source§

impl FromJSValConvertible for VideoTrackOrAudioTrackOrTextTrack

§

type Config = ()

source§

impl FromJSValConvertible for WebGLRenderingContextOrWebGL2RenderingContext

§

type Config = ()

source§

impl FromJSValConvertible for WindowProxyOrMessagePortOrServiceWorker

§

type Config = ()

source§

impl FromJSValConvertible for AnalyserOptions

§

type Config = ()

source§

impl FromJSValConvertible for AnimationEventInit

§

type Config = ()

source§

impl FromJSValConvertible for AudioBufferOptions

§

type Config = ()

source§

impl FromJSValConvertible for AudioBufferSourceOptions

§

type Config = ()

source§

impl FromJSValConvertible for AudioContextOptions

§

type Config = ()

source§

impl FromJSValConvertible for AudioTimestamp

§

type Config = ()

source§

impl FromJSValConvertible for AudioNodeOptions

§

type Config = ()

source§

impl FromJSValConvertible for BiquadFilterOptions

§

type Config = ()

source§

impl FromJSValConvertible for BlobPropertyBag

§

type Config = ()

source§

impl FromJSValConvertible for BluetoothAdvertisingEventInit

§

type Config = ()

source§

impl FromJSValConvertible for BluetoothLEScanFilterInit

§

type Config = ()

source§

impl FromJSValConvertible for RequestDeviceOptions

§

type Config = ()

source§

impl FromJSValConvertible for BluetoothPermissionDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for ChannelMergerOptions

§

type Config = ()

source§

impl FromJSValConvertible for ChannelSplitterOptions

§

type Config = ()

source§

impl FromJSValConvertible for CloseEventInit

§

type Config = ()

source§

impl FromJSValConvertible for CompositionEventInit

§

type Config = ()

source§

impl FromJSValConvertible for ConstantSourceOptions

§

type Config = ()

source§

impl FromJSValConvertible for ElementDefinitionOptions

§

type Config = ()

source§

impl FromJSValConvertible for DOMMatrixInit

§

type Config = ()

source§

impl FromJSValConvertible for DOMPointInit

§

type Config = ()

source§

impl FromJSValConvertible for DOMQuadInit

§

type Config = ()

source§

impl FromJSValConvertible for DOMRectInit

§

type Config = ()

source§

impl FromJSValConvertible for ElementCreationOptions

§

type Config = ()

source§

impl FromJSValConvertible for EventInit

§

type Config = ()

source§

impl FromJSValConvertible for EventModifierInit

§

type Config = ()

source§

impl FromJSValConvertible for EventSourceInit

§

type Config = ()

source§

impl FromJSValConvertible for AddEventListenerOptions

§

type Config = ()

source§

impl FromJSValConvertible for EventListenerOptions

§

type Config = ()

source§

impl FromJSValConvertible for ExtendableEventInit

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRBoundsPoint

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRDeviceResolution

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRFieldOfViewInit

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRRegionInit

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRRigidTransformInit

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRTriangleInit

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRViewInit

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRWorldInit

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRButtonStateInit

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRInputSourceInit

§

type Config = ()

source§

impl FromJSValConvertible for FilePropertyBag

§

type Config = ()

source§

impl FromJSValConvertible for FocusEventInit

§

type Config = ()

source§

impl FromJSValConvertible for FormDataEventInit

§

type Config = ()

source§

impl FromJSValConvertible for GainOptions

§

type Config = ()

source§

impl FromJSValConvertible for GamepadEventInit

§

type Config = ()

source§

impl FromJSValConvertible for HashChangeEventInit

§

type Config = ()

source§

impl FromJSValConvertible for ImageBitmapOptions

§

type Config = ()

source§

impl FromJSValConvertible for InputEventInit

§

type Config = ()

source§

impl FromJSValConvertible for KeyboardEventInit

§

type Config = ()

source§

impl FromJSValConvertible for ConstrainDoubleRange

§

type Config = ()

source§

impl FromJSValConvertible for ConstrainULongRange

§

type Config = ()

source§

impl FromJSValConvertible for DoubleRange

§

type Config = ()

source§

impl FromJSValConvertible for MediaStreamConstraints

§

type Config = ()

source§

impl FromJSValConvertible for MediaTrackConstraintSet

§

type Config = ()

source§

impl FromJSValConvertible for MediaTrackConstraints

§

type Config = ()

source§

impl FromJSValConvertible for ULongRange

§

type Config = ()

source§

impl FromJSValConvertible for MediaElementAudioSourceOptions

§

type Config = ()

source§

impl FromJSValConvertible for MediaImage

§

type Config = ()

source§

impl FromJSValConvertible for MediaMetadataInit

§

type Config = ()

source§

impl FromJSValConvertible for MediaQueryListEventInit

§

type Config = ()

source§

impl FromJSValConvertible for MediaPositionState

§

type Config = ()

source§

impl FromJSValConvertible for MediaSessionActionDetails

§

type Config = ()

source§

impl FromJSValConvertible for MediaSessionSeekActionDetails

§

type Config = ()

source§

impl FromJSValConvertible for MediaSessionSeekToActionDetails

§

type Config = ()

source§

impl FromJSValConvertible for MediaStreamAudioSourceOptions

§

type Config = ()

source§

impl FromJSValConvertible for MediaStreamTrackAudioSourceOptions

§

type Config = ()

source§

impl FromJSValConvertible for MouseEventInit

§

type Config = ()

source§

impl FromJSValConvertible for MutationObserverInit

§

type Config = ()

source§

impl FromJSValConvertible for NavigationPreloadState

§

type Config = ()

source§

impl FromJSValConvertible for GetRootNodeOptions

§

type Config = ()

source§

impl FromJSValConvertible for OfflineAudioCompletionEventInit

§

type Config = ()

source§

impl FromJSValConvertible for OfflineAudioContextOptions

§

type Config = ()

source§

impl FromJSValConvertible for ImageEncodeOptions

§

type Config = ()

source§

impl FromJSValConvertible for OscillatorOptions

§

type Config = ()

source§

impl FromJSValConvertible for PageTransitionEventInit

§

type Config = ()

source§

impl FromJSValConvertible for PannerOptions

§

type Config = ()

source§

impl FromJSValConvertible for PerformanceObserverInit

§

type Config = ()

source§

impl FromJSValConvertible for DevicePermissionDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for MidiPermissionDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for PermissionDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for PushPermissionDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for ProgressEventInit

§

type Config = ()

source§

impl FromJSValConvertible for RTCDataChannelInit

§

type Config = ()

source§

impl FromJSValConvertible for RTCDataChannelEventInit

§

type Config = ()

source§

impl FromJSValConvertible for RTCErrorInit

§

type Config = ()

source§

impl FromJSValConvertible for RTCErrorEventInit

§

type Config = ()

source§

impl FromJSValConvertible for RTCIceCandidateInit

§

type Config = ()

source§

impl FromJSValConvertible for RTCAnswerOptions

§

type Config = ()

source§

impl FromJSValConvertible for RTCConfiguration

§

type Config = ()

source§

impl FromJSValConvertible for RTCIceServer

§

type Config = ()

source§

impl FromJSValConvertible for RTCOfferAnswerOptions

§

type Config = ()

source§

impl FromJSValConvertible for RTCOfferOptions

§

type Config = ()

source§

impl FromJSValConvertible for RTCRtpCodingParameters

§

type Config = ()

source§

impl FromJSValConvertible for RTCRtpEncodingParameters

§

type Config = ()

source§

impl FromJSValConvertible for RTCRtpTransceiverInit

§

type Config = ()

source§

impl FromJSValConvertible for RTCPeerConnectionIceEventInit

§

type Config = ()

source§

impl FromJSValConvertible for RTCRtcpParameters

§

type Config = ()

source§

impl FromJSValConvertible for RTCRtpCodecParameters

§

type Config = ()

source§

impl FromJSValConvertible for RTCRtpHeaderExtensionParameters

§

type Config = ()

source§

impl FromJSValConvertible for RTCRtpParameters

§

type Config = ()

source§

impl FromJSValConvertible for RTCRtpSendParameters

§

type Config = ()

source§

impl FromJSValConvertible for RTCSessionDescriptionInit

§

type Config = ()

source§

impl FromJSValConvertible for RTCTrackEventInit

§

type Config = ()

source§

impl FromJSValConvertible for ResponseInit

§

type Config = ()

source§

impl FromJSValConvertible for RegistrationOptions

§

type Config = ()

source§

impl FromJSValConvertible for StereoPannerOptions

§

type Config = ()

source§

impl FromJSValConvertible for StorageEventInit

§

type Config = ()

source§

impl FromJSValConvertible for SubmitEventInit

§

type Config = ()

source§

impl FromJSValConvertible for TestDictionaryParent

§

type Config = ()

source§

impl FromJSValConvertible for TestDictionaryWithParent

§

type Config = ()

source§

impl FromJSValConvertible for TestURLLike

§

type Config = ()

source§

impl FromJSValConvertible for TextDecodeOptions

§

type Config = ()

source§

impl FromJSValConvertible for TextDecoderOptions

§

type Config = ()

source§

impl FromJSValConvertible for TrackEventInit

§

type Config = ()

source§

impl FromJSValConvertible for TransitionEventInit

§

type Config = ()

source§

impl FromJSValConvertible for UIEventInit

§

type Config = ()

source§

impl FromJSValConvertible for WebGLContextEventInit

§

type Config = ()

source§

impl FromJSValConvertible for WebGLContextAttributes

§

type Config = ()

source§

impl FromJSValConvertible for GPUBindGroupDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUBindGroupEntry

§

type Config = ()

source§

impl FromJSValConvertible for GPUBindGroupLayoutDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUBindGroupLayoutEntry

§

type Config = ()

source§

impl FromJSValConvertible for GPUBlendComponent

§

type Config = ()

source§

impl FromJSValConvertible for GPUBlendState

§

type Config = ()

source§

impl FromJSValConvertible for GPUBufferBinding

§

type Config = ()

source§

impl FromJSValConvertible for GPUBufferBindingLayout

§

type Config = ()

source§

impl FromJSValConvertible for GPUBufferDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUCanvasConfiguration

§

type Config = ()

source§

impl FromJSValConvertible for GPUColorDict

§

type Config = ()

source§

impl FromJSValConvertible for GPUColorTargetState

§

type Config = ()

source§

impl FromJSValConvertible for GPUCommandBufferDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUCommandEncoderDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUComputePassDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUComputePipelineDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUDepthStencilState

§

type Config = ()

source§

impl FromJSValConvertible for GPUDeviceDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUExtent3DDict

§

type Config = ()

source§

impl FromJSValConvertible for GPUFragmentState

§

type Config = ()

source§

impl FromJSValConvertible for GPUImageBitmapCopyView

§

type Config = ()

source§

impl FromJSValConvertible for GPUImageCopyBuffer

§

type Config = ()

source§

impl FromJSValConvertible for GPUImageCopyExternalImage

§

type Config = ()

source§

impl FromJSValConvertible for GPUImageCopyTexture

§

type Config = ()

source§

impl FromJSValConvertible for GPUImageCopyTextureTagged

§

type Config = ()

source§

impl FromJSValConvertible for GPUImageDataLayout

§

type Config = ()

source§

impl FromJSValConvertible for GPUMultisampleState

§

type Config = ()

source§

impl FromJSValConvertible for GPUObjectDescriptorBase

§

type Config = ()

source§

impl FromJSValConvertible for GPUOrigin2DDict

§

type Config = ()

source§

impl FromJSValConvertible for GPUOrigin3DDict

§

type Config = ()

source§

impl FromJSValConvertible for GPUPipelineDescriptorBase

§

type Config = ()

source§

impl FromJSValConvertible for GPUPipelineLayoutDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUPrimitiveState

§

type Config = ()

source§

impl FromJSValConvertible for GPUProgrammableStage

§

type Config = ()

source§

impl FromJSValConvertible for GPUQuerySetDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPURenderBundleDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPURenderBundleEncoderDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPURenderPassColorAttachment

§

type Config = ()

source§

impl FromJSValConvertible for GPURenderPassDepthStencilAttachment

§

type Config = ()

source§

impl FromJSValConvertible for GPURenderPassDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPURenderPassLayout

§

type Config = ()

source§

impl FromJSValConvertible for GPURenderPipelineDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPURequestAdapterOptions

§

type Config = ()

source§

impl FromJSValConvertible for GPUSamplerBindingLayout

§

type Config = ()

source§

impl FromJSValConvertible for GPUSamplerDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUStencilFaceState

§

type Config = ()

source§

impl FromJSValConvertible for GPUStorageTextureBindingLayout

§

type Config = ()

source§

impl FromJSValConvertible for GPUTextureBindingLayout

§

type Config = ()

source§

impl FromJSValConvertible for GPUTextureDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUTextureViewDescriptor

§

type Config = ()

source§

impl FromJSValConvertible for GPUUncapturedErrorEventInit

§

type Config = ()

source§

impl FromJSValConvertible for GPUVertexAttribute

§

type Config = ()

source§

impl FromJSValConvertible for GPUVertexBufferLayout

§

type Config = ()

source§

impl FromJSValConvertible for GPUVertexState

§

type Config = ()

source§

impl FromJSValConvertible for WheelEventInit

§

type Config = ()

source§

impl FromJSValConvertible for ScrollOptions

§

type Config = ()

source§

impl FromJSValConvertible for ScrollToOptions

§

type Config = ()

source§

impl FromJSValConvertible for WorkerOptions

§

type Config = ()

source§

impl FromJSValConvertible for WorkletOptions

§

type Config = ()

source§

impl FromJSValConvertible for XRHitTestOptionsInit

§

type Config = ()

source§

impl FromJSValConvertible for XRInputSourceEventInit

§

type Config = ()

source§

impl FromJSValConvertible for XRInputSourcesChangeEventInit

§

type Config = ()

source§

impl FromJSValConvertible for XRLayerEventInit

§

type Config = ()

source§

impl FromJSValConvertible for XRMediaLayerInit

§

type Config = ()

source§

impl FromJSValConvertible for XRRayDirectionInit

§

type Config = ()

source§

impl FromJSValConvertible for XRRenderStateInit

§

type Config = ()

source§

impl FromJSValConvertible for XRSessionEventInit

§

type Config = ()

source§

impl FromJSValConvertible for FakeXRDeviceInit

§

type Config = ()

source§

impl FromJSValConvertible for XRCubeLayerInit

§

type Config = ()

source§

impl FromJSValConvertible for XRCylinderLayerInit

§

type Config = ()

source§

impl FromJSValConvertible for XREquirectLayerInit

§

type Config = ()

source§

impl FromJSValConvertible for XRLayerInit

§

type Config = ()

source§

impl FromJSValConvertible for XRProjectionLayerInit

§

type Config = ()

source§

impl FromJSValConvertible for XRQuadLayerInit

§

type Config = ()

source§

impl FromJSValConvertible for XRWebGLLayerInit

§

type Config = ()

source§

impl FromJSValConvertible for ByteString

§

type Config = ()

source§

impl FromJSValConvertible for DOMString

source§

impl FromJSValConvertible for USVString

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<BluetoothDataFilterInit>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<CustomEventInit>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<ErrorEventInit>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<ExtendableMessageEventInit>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<IterableKeyAndValueResult>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<IterableKeyOrValueResult>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<MessageEventInit>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<PostMessageOptions>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<PopStateEventInit>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<PromiseRejectionEventInit>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<RequestInit>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<TestDictionary>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<TestDictionaryDefaults>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<GPUShaderModuleDescriptor>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<WindowPostMessageOptions>

§

type Config = ()

source§

impl FromJSValConvertible for RootedTraceableBox<XRSessionInit>

§

type Config = ()

source§

impl<K, V, C> FromJSValConvertible for Record<K, V>where
    K: RecordKey,
    V: FromJSValConvertible<Config = C>,
    C: Clone,

§

type Config = C

source§

impl<T> FromJSValConvertible for RootedTraceableBox<Heap<T>>where
    T: FromJSValConvertible + GCMethods + Copy,
    Heap<T>: JSTraceable + Default,

source§

impl<T, S> FromJSValConvertible for TypedArray<T, S>where
    T: TypedArrayElement,
    S: JSObjectStorage,

§

type Config = ()

source§

impl<T: Float + FromJSValConvertible<Config = ()>> FromJSValConvertible for Finite<T>

§

type Config = ()

source§

impl<T: DomObject + IDLInterface> FromJSValConvertible for Root<Dom<T>>

§

type Config = ()