pub enum KeyName {
Index(u32),
String(Vec<u16>),
Symbol(Value),
}Expand description
What a property key names, read without running JavaScript.
Variants§
Index(u32)
String(Vec<u16>)
Symbol(Value)
A symbol key: the symbol itself (a fixed or otherwise rooted value whenever the key came from a rooted object).
Trait Implementations§
impl Eq for KeyName
impl StructuralPartialEq for KeyName
Auto Trait Implementations§
impl Freeze for KeyName
impl RefUnwindSafe for KeyName
impl Send for KeyName
impl Sync for KeyName
impl Unpin for KeyName
impl UnsafeUnpin for KeyName
impl UnwindSafe for KeyName
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