pub struct PrivatePropertyDescriptor { /* private fields */ }Available on crate features
Runtime and experimental only.Expand description
Object private field descriptor.
Implementations§
Source§impl PrivatePropertyDescriptor
impl PrivatePropertyDescriptor
pub fn builder() -> PrivatePropertyDescriptorBuilder
Sourcepub fn value(&self) -> Option<&RemoteObject>
pub fn value(&self) -> Option<&RemoteObject>
The value associated with the private property.
Sourcepub fn get(&self) -> Option<&RemoteObject>
pub fn get(&self) -> Option<&RemoteObject>
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) -> Option<&RemoteObject>
pub fn set(&self) -> Option<&RemoteObject>
A function which serves as a setter for the private property,
or undefined if there is no setter (accessor descriptors only).
Trait Implementations§
Source§impl Clone for PrivatePropertyDescriptor
impl Clone for PrivatePropertyDescriptor
Source§fn clone(&self) -> PrivatePropertyDescriptor
fn clone(&self) -> PrivatePropertyDescriptor
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 moreSource§impl Debug for PrivatePropertyDescriptor
impl Debug for PrivatePropertyDescriptor
Source§impl<'de> Deserialize<'de> for PrivatePropertyDescriptor
impl<'de> Deserialize<'de> for PrivatePropertyDescriptor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PrivatePropertyDescriptor
impl RefUnwindSafe for PrivatePropertyDescriptor
impl Send for PrivatePropertyDescriptor
impl Sync for PrivatePropertyDescriptor
impl Unpin for PrivatePropertyDescriptor
impl UnwindSafe for PrivatePropertyDescriptor
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