pub enum PropertyDescriptor {
Data(PropertyDescriptorData),
Accessor(PropertyDescriptorAccessor),
}Variants§
Data(PropertyDescriptorData)
Accessor(PropertyDescriptorAccessor)
Implementations§
Source§impl PropertyDescriptor
impl PropertyDescriptor
pub fn new_from_property_descriptor_setter( desc_setter: PropertyDescriptorSetter, ) -> Self
pub fn is_enumerable(&self) -> bool
pub fn is_configurable(&self) -> bool
pub fn is_data_descriptor(&self) -> bool
pub fn is_accessor_descriptor(&self) -> bool
Trait Implementations§
Source§impl Clone for PropertyDescriptor
impl Clone for PropertyDescriptor
Source§impl PartialEq for PropertyDescriptor
impl PartialEq for PropertyDescriptor
Auto Trait Implementations§
impl Freeze for PropertyDescriptor
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