[][src]Enum boa::property::PropertyKey

pub enum PropertyKey {
    String(RcString),
    Symbol(RcSymbol),
    Index(u32),
}

This abstracts away the need for IsPropertyKey by transforming the PropertyKey values into an enum with both valid types: String and Symbol

More information:

Variants

String(RcString)
Symbol(RcSymbol)
Index(u32)

Trait Implementations

impl Clone for PropertyKey[src]

impl Debug for PropertyKey[src]

impl Display for PropertyKey[src]

impl Drop for PropertyKey[src]

impl Finalize for PropertyKey[src]

impl<'_> From<&'_ PropertyKey> for Value[src]

impl<'_> From<&'_ str> for PropertyKey[src]

impl From<Box<str>> for PropertyKey[src]

impl From<PropertyKey> for Value[src]

impl From<RcString> for PropertyKey[src]

impl From<RcSymbol> for PropertyKey[src]

impl From<String> for PropertyKey[src]

impl From<f64> for PropertyKey[src]

impl From<i32> for PropertyKey[src]

impl From<isize> for PropertyKey[src]

impl From<u16> for PropertyKey[src]

impl From<u32> for PropertyKey[src]

impl From<u8> for PropertyKey[src]

impl From<usize> for PropertyKey[src]

impl<'_> PartialEq<&'_ str> for PropertyKey[src]

impl Trace for PropertyKey[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> NativeObject for T where
    T: Any + Debug + Trace
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,