Movatterモバイル変換


[0]ホーム

URL:


Docs.rs

JsData

TraitJsData 

Source
pub trait JsData { }
Expand description

Represents a type that can be stored inside aJsObject.

This can be automatically derived using a macro.

§Example

useboa_engine::{Finalize, JsData, JsObject, Trace};#[derive(Trace, Finalize, JsData)]structCustomStruct {#[unsafe_ignore_trace]counter: usize,}letobject =    JsObject::from_proto_and_data(None, CustomStruct { counter:5});assert_eq!(object.downcast_ref::<CustomStruct>().unwrap().counter,5);

Implementations on Foreign Types§

Source§

implJsData forbool

Source§

implJsData forchar

Source§

implJsData forf32

Source§

implJsData forf64

Source§

implJsData fori8

Source§

implJsData fori16

Source§

implJsData fori32

Source§

implJsData fori64

Source§

implJsData fori128

Source§

implJsData forisize

Source§

implJsData foru8

Source§

implJsData foru16

Source§

implJsData foru32

Source§

implJsData foru64

Source§

implJsData foru128

Source§

implJsData for()

Source§

implJsData forusize

Source§

implJsData forString

Source§

implJsData forTypeId

Source§

implJsData forAtomicBool

Source§

implJsData forAtomicI8

Source§

implJsData forAtomicI16

Source§

implJsData forAtomicI32

Source§

implJsData forAtomicI64

Source§

implJsData forAtomicIsize

Source§

implJsData forAtomicU8

Source§

implJsData forAtomicU16

Source§

implJsData forAtomicU32

Source§

implJsData forAtomicU64

Source§

implJsData forAtomicUsize

Source§

implJsData forPath

Source§

implJsData forPathBuf

Source§

implJsData forLocale

Source§

implJsData forNonZeroI8

Source§

implJsData forNonZeroI16

Source§

implJsData forNonZeroI32

Source§

implJsData forNonZeroI64

Source§

implJsData forNonZeroI128

Source§

implJsData forNonZeroIsize

Source§

implJsData forNonZeroU8

Source§

implJsData forNonZeroU16

Source§

implJsData forNonZeroU32

Source§

implJsData forNonZeroU64

Source§

implJsData forNonZeroU128

Source§

implJsData forNonZeroUsize

Source§

impl<A>JsData for(A,)

Source§

impl<A, B>JsData for(A, B)

Source§

impl<A, B, C>JsData for(A, B, C)

Source§

impl<A, B, C, D>JsData for(A, B, C, D)

Source§

impl<A, B, C, D, E>JsData for(A, B, C, D, E)

Source§

impl<A, B, C, D, E, F>JsData for(A, B, C, D, E, F)

Source§

impl<A, B, C, D, E, F, G>JsData for(A, B, C, D, E, F, G)

Source§

impl<A, B, C, D, E, F, G, H>JsData for(A, B, C, D, E, F, G, H)

Source§

impl<A, B, C, D, E, F, G, H, I>JsData for(A, B, C, D, E, F, G, H, I)

Source§

impl<A, B, C, D, E, F, G, H, I, J>JsData for(A, B, C, D, E, F, G, H, I, J)

Source§

impl<A, B, C, D, E, F, G, H, I, J, K>JsData for(A, B, C, D, E, F, G, H, I, J, K)

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L>JsData for(A, B, C, D, E, F, G, H, I, J, K, L)

Source§

impl<K, V>JsData forBTreeMap<K, V>

Source§

impl<K:Trace + ?Sized, V:Trace>JsData forWeakMap<K, V>

Source§

impl<K:Eq +Hash, V, S:BuildHasher>JsData forHashMap<K, V, S>

Source§

impl<K:Eq +Hash, V, S:BuildHasher>JsData forHashMap<K, V, S>

Source§

impl<Ret>JsData forfn() -> Ret

Source§

impl<Ret>JsData for extern "C"fn() -> Ret

Source§

impl<Ret>JsData for unsafefn() -> Ret

Source§

impl<Ret>JsData for unsafe extern "C"fn() -> Ret

Source§

impl<Ret, A>JsData forfn(A) -> Ret

Source§

impl<Ret, A>JsData for extern "C"fn(A) -> Ret

Source§

impl<Ret, A>JsData for extern "C"fn(A, ...) -> Ret

Source§

impl<Ret, A>JsData for unsafefn(A) -> Ret

Source§

impl<Ret, A>JsData for unsafe extern "C"fn(A) -> Ret

Source§

impl<Ret, A>JsData for unsafe extern "C"fn(A, ...) -> Ret

Source§

impl<Ret, A, B>JsData forfn(A, B) -> Ret

Source§

impl<Ret, A, B>JsData for extern "C"fn(A, B) -> Ret

Source§

impl<Ret, A, B>JsData for extern "C"fn(A, B, ...) -> Ret

Source§

impl<Ret, A, B>JsData for unsafefn(A, B) -> Ret

Source§

impl<Ret, A, B>JsData for unsafe extern "C"fn(A, B) -> Ret

Source§

impl<Ret, A, B>JsData for unsafe extern "C"fn(A, B, ...) -> Ret

Source§

impl<Ret, A, B, C>JsData forfn(A, B, C) -> Ret

Source§

impl<Ret, A, B, C>JsData for extern "C"fn(A, B, C) -> Ret

Source§

impl<Ret, A, B, C>JsData for extern "C"fn(A, B, C, ...) -> Ret

Source§

impl<Ret, A, B, C>JsData for unsafefn(A, B, C) -> Ret

Source§

impl<Ret, A, B, C>JsData for unsafe extern "C"fn(A, B, C) -> Ret

Source§

impl<Ret, A, B, C>JsData for unsafe extern "C"fn(A, B, C, ...) -> Ret

Source§

impl<Ret, A, B, C, D>JsData forfn(A, B, C, D) -> Ret

Source§

impl<Ret, A, B, C, D>JsData for extern "C"fn(A, B, C, D) -> Ret

Source§

impl<Ret, A, B, C, D>JsData for extern "C"fn(A, B, C, D, ...) -> Ret

Source§

impl<Ret, A, B, C, D>JsData for unsafefn(A, B, C, D) -> Ret

Source§

impl<Ret, A, B, C, D>JsData for unsafe extern "C"fn(A, B, C, D) -> Ret

Source§

impl<Ret, A, B, C, D>JsData for unsafe extern "C"fn(A, B, C, D, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E>JsData forfn(A, B, C, D, E) -> Ret

Source§

impl<Ret, A, B, C, D, E>JsData for extern "C"fn(A, B, C, D, E) -> Ret

Source§

impl<Ret, A, B, C, D, E>JsData for extern "C"fn(A, B, C, D, E, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E>JsData for unsafefn(A, B, C, D, E) -> Ret

Source§

impl<Ret, A, B, C, D, E>JsData for unsafe extern "C"fn(A, B, C, D, E) -> Ret

Source§

impl<Ret, A, B, C, D, E>JsData for unsafe extern "C"fn(A, B, C, D, E, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F>JsData forfn(A, B, C, D, E, F) -> Ret

Source§

impl<Ret, A, B, C, D, E, F>JsData for extern "C"fn(A, B, C, D, E, F) -> Ret

Source§

impl<Ret, A, B, C, D, E, F>JsData for extern "C"fn(A, B, C, D, E, F, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F>JsData for unsafefn(A, B, C, D, E, F) -> Ret

Source§

impl<Ret, A, B, C, D, E, F>JsData for unsafe extern "C"fn(A, B, C, D, E, F) -> Ret

Source§

impl<Ret, A, B, C, D, E, F>JsData for unsafe extern "C"fn(A, B, C, D, E, F, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G>JsData forfn(A, B, C, D, E, F, G) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G>JsData for extern "C"fn(A, B, C, D, E, F, G) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G>JsData for extern "C"fn(A, B, C, D, E, F, G, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G>JsData for unsafefn(A, B, C, D, E, F, G) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H>JsData forfn(A, B, C, D, E, F, G, H) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H>JsData for extern "C"fn(A, B, C, D, E, F, G, H) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H>JsData for extern "C"fn(A, B, C, D, E, F, G, H, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H>JsData for unsafefn(A, B, C, D, E, F, G, H) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G, H) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G, H, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I>JsData forfn(A, B, C, D, E, F, G, H, I) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I>JsData for extern "C"fn(A, B, C, D, E, F, G, H, I) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I>JsData for extern "C"fn(A, B, C, D, E, F, G, H, I, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I>JsData for unsafefn(A, B, C, D, E, F, G, H, I) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G, H, I) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G, H, I, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J>JsData forfn(A, B, C, D, E, F, G, H, I, J) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J>JsData for extern "C"fn(A, B, C, D, E, F, G, H, I, J) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J>JsData for extern "C"fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J>JsData for unsafefn(A, B, C, D, E, F, G, H, I, J) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G, H, I, J) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K>JsData forfn(A, B, C, D, E, F, G, H, I, J, K) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K>JsData for extern "C"fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K>JsData for extern "C"fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K>JsData for unsafefn(A, B, C, D, E, F, G, H, I, J, K) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L>JsData forfn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L>JsData for extern "C"fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L>JsData for extern "C"fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L>JsData for unsafefn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret

Source§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L>JsData for unsafe extern "C"fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret

Source§

impl<T>JsData forOption<T>

Source§

impl<T>JsData forBTreeSet<T>

Source§

impl<T>JsData forVecDeque<T>

Source§

impl<T>JsData forVec<T>

Source§

impl<T>JsData forCell<Option<T>>

Source§

impl<T>JsData forPhantomData<T>

Source§

impl<T>JsData forThinVec<T>

Source§

impl<T, E>JsData forResult<T, E>

Source§

impl<T, const N:usize>JsData for[T; N]

Source§

impl<T:Trace + ?Sized>JsData forGcRefCell<T>

Source§

impl<T:Trace + ?Sized>JsData forGc<T>

Source§

impl<T:Trace + ?Sized>JsData forWeakGc<T>

Source§

impl<T:Trace + ?Sized, V:Trace>JsData forEphemeron<T, V>

Source§

impl<T:ToOwned + ?Sized>JsData forCow<'static, T>

Source§

impl<T:Eq +Hash>JsData forLinkedList<T>

Source§

impl<T:Eq +Hash, S:BuildHasher>JsData forHashSet<T, S>

Source§

impl<T:Ord>JsData forBinaryHeap<T>

Source§

impl<T: ?Sized>JsData forBox<T>

Source§

impl<T: ?Sized>JsData forRc<T>

Implementors§

Source§

implJsData forErrorKind

Source§

implJsData forJsBigInt

Source§

implJsData forArrayBuffer

Source§

implJsData forSharedArrayBuffer

Source§

implJsData forAsyncGenerator

Source§

implJsData forDataView

Source§

implJsData forDate

Source§

implJsData forError

Source§

implJsData forBoundFunction

Source§

implJsData forOrdinaryFunction

Source§

implJsData forGenerator

Source§

implJsData forIntl

Source§

implJsData forOrdinaryObject

Source§

implJsData forPromise

Source§

implJsData forProxy

Source§

implJsData forRegExp

Source§

implJsData forOrderedSet

Source§

implJsData forDuration

Source§

implJsData forInstant

Source§

implJsData forPlainDate

Source§

implJsData forPlainDateTime

Source§

implJsData forPlainMonthDay

Source§

implJsData forPlainTime

Source§

implJsData forPlainYearMonth

Source§

implJsData forZonedDateTime

Source§

implJsData forTypedArray

Source§

implJsData forModuleNamespace

Source§

implJsData forNativeFunctionObject

Source§

implJsData forJsString

Source§

implJsData forJsSymbol

Source§

implJsData forErasedObjectData

Source§

impl<T:TryFromJs>JsData forConvert<T>

Source§

impl<V>JsData forOrderedMap<V>


[8]ページ先頭

©2009-2025 Movatter.jp