Struct v8::PropertyAttribute
source · #[repr(C)]pub struct PropertyAttribute(_);
Implementations§
source§impl PropertyAttribute
impl PropertyAttribute
sourcepub fn is_read_only(&self) -> bool
pub fn is_read_only(&self) -> bool
Test if the read-only property attribute is set.
sourcepub fn is_dont_enum(&self) -> bool
pub fn is_dont_enum(&self) -> bool
Test if the non-enumerable property attribute is set.
sourcepub fn is_dont_delete(&self) -> bool
pub fn is_dont_delete(&self) -> bool
Test if the non-configurable property attribute is set.
Trait Implementations§
source§impl BitOr<PropertyAttribute> for PropertyAttribute
impl BitOr<PropertyAttribute> for PropertyAttribute
source§impl Debug for PropertyAttribute
impl Debug for PropertyAttribute
source§impl Default for PropertyAttribute
impl Default for PropertyAttribute
source§impl PartialEq<PropertyAttribute> for PropertyAttribute
impl PartialEq<PropertyAttribute> for PropertyAttribute
source§fn eq(&self, other: &PropertyAttribute) -> bool
fn eq(&self, other: &PropertyAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.