pub struct PrivatePropertyDescriptorBuilder { /* private fields */ }Available on crate features
Runtime and experimental only.Implementations§
Source§impl PrivatePropertyDescriptorBuilder
impl PrivatePropertyDescriptorBuilder
Sourcepub fn value(&mut self, v: RemoteObject) -> &mut Self
pub fn value(&mut self, v: RemoteObject) -> &mut Self
The value associated with the private property.
Sourcepub fn get(&mut self, v: RemoteObject) -> &mut Self
pub fn get(&mut self, v: RemoteObject) -> &mut 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(&mut self, v: RemoteObject) -> &mut Self
pub fn set(&mut self, v: RemoteObject) -> &mut 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(&mut self) -> Result<PrivatePropertyDescriptor, &'static str>
Trait Implementations§
Source§impl Clone for PrivatePropertyDescriptorBuilder
impl Clone for PrivatePropertyDescriptorBuilder
Source§fn clone(&self) -> PrivatePropertyDescriptorBuilder
fn clone(&self) -> PrivatePropertyDescriptorBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PrivatePropertyDescriptorBuilder
impl RefUnwindSafe for PrivatePropertyDescriptorBuilder
impl Send for PrivatePropertyDescriptorBuilder
impl Sync for PrivatePropertyDescriptorBuilder
impl Unpin for PrivatePropertyDescriptorBuilder
impl UnwindSafe for PrivatePropertyDescriptorBuilder
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