Enum v8::KeyCollectionMode
source · #[repr(C)]pub enum KeyCollectionMode {
OwnOnly = 0,
IncludePrototypes = 1,
}
Expand description
Keys/Properties filter enums:
KeyCollectionMode limits the range of collected properties. kOwnOnly limits the collected properties to the given Object only. kIncludesPrototypes will include all keys of the objects’s prototype chain as well.
Variants§
OwnOnly = 0
OwnOnly limits the collected properties to the given Object only.
IncludePrototypes = 1
kIncludesPrototypes will include all keys of the objects’s prototype chain as well.
Trait Implementations§
source§impl Clone for KeyCollectionMode
impl Clone for KeyCollectionMode
source§fn clone(&self) -> KeyCollectionMode
fn clone(&self) -> KeyCollectionMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KeyCollectionMode
impl Debug for KeyCollectionMode
impl Copy for KeyCollectionMode
Auto Trait Implementations§
impl Freeze for KeyCollectionMode
impl RefUnwindSafe for KeyCollectionMode
impl Send for KeyCollectionMode
impl Sync for KeyCollectionMode
impl Unpin for KeyCollectionMode
impl UnwindSafe for KeyCollectionMode
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