Struct chrome_remote_interface_model::runtime::PropertyDescriptorBuilder [−][src]
Runtime
only.Implementations
impl PropertyDescriptorBuilder
[src]
pub fn name(&mut self, v: String) -> &mut Self
[src]
Property name or symbol description.
pub fn value(&mut self, v: RemoteObject) -> &mut Self
[src]
The value associated with the property.
pub fn writable(&mut self, v: bool) -> &mut Self
[src]
True if the value associated with the property may be changed (data descriptors only).
pub fn get(&mut self, v: RemoteObject) -> &mut Self
[src]
A function which serves as a getter for the property, or undefined
if there is no getter
(accessor descriptors only).
pub fn set(&mut self, v: RemoteObject) -> &mut Self
[src]
A function which serves as a setter for the property, or undefined
if there is no setter
(accessor descriptors only).
pub fn configurable(&mut self, v: bool) -> &mut Self
[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(&mut self, v: bool) -> &mut Self
[src]
True if this property shows up during enumeration of the properties on the corresponding object.
pub fn was_thrown(&mut self, v: bool) -> &mut Self
[src]
True if the result was thrown during the evaluation.
pub fn is_own(&mut self, v: bool) -> &mut Self
[src]
True if the property is owned for the object.
pub fn symbol(&mut self, v: RemoteObject) -> &mut Self
[src]
Property symbol object, if the property is of the symbol
type.
pub fn build(&mut self) -> Result<PropertyDescriptor, &'static str>
[src]
Trait Implementations
impl Clone for PropertyDescriptorBuilder
[src]
fn clone(&self) -> PropertyDescriptorBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PropertyDescriptorBuilder
[src]
impl Default for PropertyDescriptorBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for PropertyDescriptorBuilder
[src]
impl Send for PropertyDescriptorBuilder
[src]
impl Sync for PropertyDescriptorBuilder
[src]
impl Unpin for PropertyDescriptorBuilder
[src]
impl UnwindSafe for PropertyDescriptorBuilder
[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> 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>,