pub struct AXValue<'a> { /* private fields */ }Expand description
A single computed AX property.
Implementations§
Source§impl<'a> AXValue<'a>
impl<'a> AXValue<'a>
Sourcepub fn builder(type_: impl Into<AXValueType>) -> AXValueBuilder<'a>
pub fn builder(type_: impl Into<AXValueType>) -> AXValueBuilder<'a>
Creates a builder for this type with the required parameters:
type_: The type of this value.
Sourcepub fn type_(&self) -> &AXValueType
pub fn type_(&self) -> &AXValueType
The type of this value.
One or more related nodes, if applicable.
Sourcepub fn sources(&self) -> Option<&[AXValueSource<'a>]>
pub fn sources(&self) -> Option<&[AXValueSource<'a>]>
The sources which contributed to the computation of this property.
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for AXValue<'a>
impl<'de, 'a> Deserialize<'de> for AXValue<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for AXValue<'a>
impl<'a> RefUnwindSafe for AXValue<'a>
impl<'a> Send for AXValue<'a>
impl<'a> Sync for AXValue<'a>
impl<'a> Unpin for AXValue<'a>
impl<'a> UnsafeUnpin for AXValue<'a>
impl<'a> UnwindSafe for AXValue<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more