pub struct PropertyDescriptorBuilder { /* private fields */ }
Implementations§
Source§impl PropertyDescriptorBuilder
impl PropertyDescriptorBuilder
pub fn new() -> Self
pub fn writable(self, value: bool) -> Self
pub fn enumerable(self, value: bool) -> Self
pub fn configurable(self, value: bool) -> Self
pub fn build(self) -> PropertyDescriptor
Auto Trait Implementations§
impl Freeze for PropertyDescriptorBuilder
impl RefUnwindSafe for PropertyDescriptorBuilder
impl Send for PropertyDescriptorBuilder
impl Sync for PropertyDescriptorBuilder
impl Unpin for PropertyDescriptorBuilder
impl UnwindSafe for PropertyDescriptorBuilder
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