pub struct PrivatePropertyDescriptorBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> PrivatePropertyDescriptorBuilder<'a>
impl<'a> PrivatePropertyDescriptorBuilder<'a>
Sourcepub fn value(self, value: RemoteObject<'a>) -> Self
pub fn value(self, value: RemoteObject<'a>) -> Self
The value associated with the private property.
Sourcepub fn get(self, get: RemoteObject<'a>) -> Self
pub fn get(self, get: RemoteObject<'a>) -> Self
A function which serves as a getter for the private property, or ‘undefined’ if there is no getter (accessor descriptors only).
Sourcepub fn set(self, set: RemoteObject<'a>) -> Self
pub fn set(self, set: RemoteObject<'a>) -> Self
A function which serves as a setter for the private property, or ‘undefined’ if there is no setter (accessor descriptors only).
pub fn build(self) -> PrivatePropertyDescriptor<'a>
Auto Trait Implementations§
impl<'a> Freeze for PrivatePropertyDescriptorBuilder<'a>
impl<'a> RefUnwindSafe for PrivatePropertyDescriptorBuilder<'a>
impl<'a> Send for PrivatePropertyDescriptorBuilder<'a>
impl<'a> Sync for PrivatePropertyDescriptorBuilder<'a>
impl<'a> Unpin for PrivatePropertyDescriptorBuilder<'a>
impl<'a> UnsafeUnpin for PrivatePropertyDescriptorBuilder<'a>
impl<'a> UnwindSafe for PrivatePropertyDescriptorBuilder<'a>
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