Struct chrome_remote_interface_model::runtime::PropertyDescriptor[][src]

pub struct PropertyDescriptor { /* fields omitted */ }
This is supported on crate feature Runtime only.

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]

impl Debug for PropertyDescriptor[src]

impl<'de> Deserialize<'de> for PropertyDescriptor[src]

impl Serialize for PropertyDescriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.