Enum v8::KeyCollectionMode
source · #[repr(C)]
pub enum KeyCollectionMode {
OwnOnly,
IncludePrototypes,
}
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
OwnOnly limits the collected properties to the given Object only.
IncludePrototypes
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 more