Struct cdp::accessibility::AxValueSource
[−]
[src]
pub struct AxValueSource<'a> { pub ty: AxValueSourceType, pub value: Option<AxValue<'a>>, pub attribute: Option<Cow<'a, str>>, pub attribute_value: Option<AxValue<'a>>, pub superseded: Option<bool>, pub native_source: Option<AxValueNativeSourceType>, pub native_source_value: Option<AxValue<'a>>, pub invalid: Option<bool>, pub invalid_reason: Option<Cow<'a, str>>, }
[Experimental] A single source for a computed AX property.
Fields
ty: AxValueSourceType
What type of source this is.
value: Option<AxValue<'a>>
The value of this property source.
attribute: Option<Cow<'a, str>>
The name of the relevant attribute, if any.
attribute_value: Option<AxValue<'a>>
The value of the relevant attribute, if any.
superseded: Option<bool>
Whether this source is superseded by a higher priority source.
native_source: Option<AxValueNativeSourceType>
The native markup source for this value, e.g. a
native_source_value: Option<AxValue<'a>>
The value, such as a node or node list, of the native source.
invalid: Option<bool>
Whether the value for this property is invalid.
invalid_reason: Option<Cow<'a, str>>
Reason for the value being invalid, if it is.
Trait Implementations
impl<'a> Clone for AxValueSource<'a>
[src]
fn clone(&self) -> AxValueSource<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for AxValueSource<'a>
[src]
impl<'a> PartialEq for AxValueSource<'a>
[src]
fn eq(&self, __arg_0: &AxValueSource<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AxValueSource<'a>) -> bool
[src]
This method tests for !=
.