Enum v8::IntegrityLevel
source · #[repr(C)]pub enum IntegrityLevel {
Frozen = 0,
Sealed = 1,
}
Expand description
Object integrity levels can be used to restrict what can be done to an object’s properties.
Variants§
Frozen = 0
Frozen objects are like Sealed objects, except all existing properties are also made non-writable.
Sealed = 1
Sealed objects prevent addition of any new property on the object, makes all existing properties non-configurable, meaning they cannot be deleted, have their enumerability, configurability, or writability changed.
Trait Implementations§
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§
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