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
sourceimpl Clone for KeyCollectionMode
impl Clone for KeyCollectionMode
sourcefn clone(&self) -> KeyCollectionMode
fn clone(&self) -> KeyCollectionMode
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for KeyCollectionMode
impl Debug for KeyCollectionMode
impl Copy for KeyCollectionMode
Auto Trait Implementations
impl RefUnwindSafe for KeyCollectionMode
impl Send for KeyCollectionMode
impl Sync for KeyCollectionMode
impl Unpin for KeyCollectionMode
impl UnwindSafe for KeyCollectionMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more