#[repr(C)]pub struct JSPropertyEnum {
pub is_enumerable: Bool,
pub atom: Atom,
}Expand description
JSPropertyEnum: one entry of JS_GetOwnPropertyNames’ answer.
8 bytes, exactly as the header lays it out: is_enumerable is a JS_BOOL (4 bytes) and
atom follows at offset 4.
Fields§
§is_enumerable: BoolWhether the property is enumerable, filled in when JS_GPN_SET_ENUM was asked for.
atom: AtomThe property’s atom.
Auto Trait Implementations§
impl Forget for JSPropertyEnum
impl Freeze for JSPropertyEnum
impl Move for JSPropertyEnum
impl RefUnwindSafe for JSPropertyEnum
impl Send for JSPropertyEnum
impl Sync for JSPropertyEnum
impl Unpin for JSPropertyEnum
impl UnsafeUnpin for JSPropertyEnum
impl UnwindSafe for JSPropertyEnum
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