Struct chrome_remote_interface_model::runtime::PropertyDescriptor [−][src]
Object property descriptor.
Implementations
impl PropertyDescriptor[src]
pub fn builder() -> PropertyDescriptorBuilder[src]
pub fn name(&self) -> &str[src]
Property name or symbol description.
pub fn value(&self) -> Option<&RemoteObject>[src]
The value associated with the property.
pub fn writable(&self) -> Option<&bool>[src]
True if the value associated with the property may be changed (data descriptors only).
pub fn get(&self) -> Option<&RemoteObject>[src]
A function which serves as a getter for the property, or undefined if there is no getter
(accessor descriptors only).
pub fn set(&self) -> Option<&RemoteObject>[src]
A function which serves as a setter for the property, or undefined if there is no setter
(accessor descriptors only).
pub fn configurable(&self) -> bool[src]
True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
pub fn enumerable(&self) -> bool[src]
True if this property shows up during enumeration of the properties on the corresponding object.
pub fn was_thrown(&self) -> Option<&bool>[src]
True if the result was thrown during the evaluation.
pub fn is_own(&self) -> Option<&bool>[src]
True if the property is owned for the object.
pub fn symbol(&self) -> Option<&RemoteObject>[src]
Property symbol object, if the property is of the symbol type.
Trait Implementations
impl Clone for PropertyDescriptor[src]
fn clone(&self) -> PropertyDescriptor[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for PropertyDescriptor[src]
impl<'de> Deserialize<'de> for PropertyDescriptor[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for PropertyDescriptor[src]
Auto Trait Implementations
impl RefUnwindSafe for PropertyDescriptor[src]
impl Send for PropertyDescriptor[src]
impl Sync for PropertyDescriptor[src]
impl Unpin for PropertyDescriptor[src]
impl UnwindSafe for PropertyDescriptor[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,