[−][src]Enum boa::property::PropertyKey
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]
pub fn clone(&self) -> PropertyKey
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
pub fn from(property_key: &PropertyKey) -> Value
[src]
impl From<&'_ str> for PropertyKey
[src]
pub fn from(string: &str) -> PropertyKey
[src]
impl From<Box<str, Global>> for PropertyKey
[src]
pub fn from(string: Box<str>) -> PropertyKey
[src]
impl From<PropertyKey> for Value
[src]
pub fn from(property_key: PropertyKey) -> Value
[src]
impl From<RcString> for PropertyKey
[src]
pub fn from(string: RcString) -> PropertyKey
[src]
impl From<RcSymbol> for PropertyKey
[src]
pub fn from(symbol: RcSymbol) -> PropertyKey
[src]
impl From<String> for PropertyKey
[src]
pub fn from(string: String) -> 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]
pub fn eq(&self, other: &&str) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Trace for PropertyKey
[src]
Auto Trait Implementations
impl !RefUnwindSafe for PropertyKey
[src]
impl !Send for PropertyKey
[src]
impl !Sync for PropertyKey
[src]
impl Unpin for PropertyKey
[src]
impl !UnwindSafe for PropertyKey
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> NativeObject for T where
T: Any + Debug + Trace,
[src]
T: Any + Debug + Trace,
pub fn as_any(&Self) -> &(dyn Any + 'static)
[src]
pub fn as_mut_any(&mut Self) -> &mut (dyn Any + 'static)
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,