Enum boa::object::IntegrityLevel
source · [−]pub enum IntegrityLevel {
Sealed,
Frozen,
}
Expand description
Object integrity level.
Variants
Sealed
Sealed object integrity level.
Preventing new properties from being added to it and marking all existing properties as non-configurable. Values of present properties can still be changed as long as they are writable.
Frozen
Frozen object integrity level
A frozen object can no longer be changed; freezing an object prevents new properties from being added to it, existing properties from being removed, prevents changing the enumerability, configurability, or writability of existing properties, and prevents the values of existing properties from being changed. In addition, freezing an object also prevents its prototype from being changed.
Implementations
Trait Implementations
sourceimpl Clone for IntegrityLevel
impl Clone for IntegrityLevel
sourcefn clone(&self) -> IntegrityLevel
fn clone(&self) -> IntegrityLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IntegrityLevel
impl Debug for IntegrityLevel
sourceimpl PartialEq<IntegrityLevel> for IntegrityLevel
impl PartialEq<IntegrityLevel> for IntegrityLevel
sourcefn eq(&self, other: &IntegrityLevel) -> bool
fn eq(&self, other: &IntegrityLevel) -> bool
impl Copy for IntegrityLevel
impl Eq for IntegrityLevel
impl StructuralEq for IntegrityLevel
impl StructuralPartialEq for IntegrityLevel
Auto Trait Implementations
impl RefUnwindSafe for IntegrityLevel
impl Send for IntegrityLevel
impl Sync for IntegrityLevel
impl Unpin for IntegrityLevel
impl UnwindSafe for IntegrityLevel
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.