Struct v8::PropertyDescriptor
source · #[repr(transparent)]pub struct PropertyDescriptor(_);
Implementations§
source§impl PropertyDescriptor
impl PropertyDescriptor
pub fn new() -> Self
pub fn new_from_value(value: Local<'_, Value>) -> Self
pub fn new_from_value_writable(value: Local<'_, Value>, writable: bool) -> Self
pub fn new_from_get_set(get: Local<'_, Value>, set: Local<'_, Value>) -> Self
pub fn set_enumerable(&mut self, enumerable: bool)
pub fn set_configurable(&mut self, configurable: bool)
Trait Implementations§
source§impl Default for PropertyDescriptor
impl Default for PropertyDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for PropertyDescriptor
impl Send for PropertyDescriptor
impl Sync for PropertyDescriptor
impl Unpin for PropertyDescriptor
impl UnwindSafe for PropertyDescriptor
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