Struct chrome_remote_interface_model::accessibility::AxValueSourceBuilder[][src]

pub struct AxValueSourceBuilder { /* fields omitted */ }
This is supported on crate features experimental and Accessibility and DOM only.

Implementations

impl AxValueSourceBuilder[src]

pub fn type(&mut self, v: AxValueSourceType) -> &mut Self[src]

What type of source this is.

pub fn value(&mut self, v: AxValue) -> &mut Self[src]

The value of this property source.

pub fn attribute(&mut self, v: String) -> &mut Self[src]

The name of the relevant attribute, if any.

pub fn attribute_value(&mut self, v: AxValue) -> &mut Self[src]

The value of the relevant attribute, if any.

pub fn superseded(&mut self, v: bool) -> &mut Self[src]

Whether this source is superseded by a higher priority source.

pub fn native_source(&mut self, v: AxValueNativeSourceType) -> &mut Self[src]

The native markup source for this value, e.g. a

pub fn native_source_value(&mut self, v: AxValue) -> &mut Self[src]

The value, such as a node or node list, of the native source.

pub fn invalid(&mut self, v: bool) -> &mut Self[src]

Whether the value for this property is invalid.

pub fn invalid_reason(&mut self, v: String) -> &mut Self[src]

Reason for the value being invalid, if it is.

pub fn build(&mut self) -> Result<AxValueSource, &'static str>[src]

Trait Implementations

impl Clone for AxValueSourceBuilder[src]

impl Debug for AxValueSourceBuilder[src]

impl Default for AxValueSourceBuilder[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> 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.