Struct atspi_proxies::hyperlink::HyperlinkProxy
source · pub struct HyperlinkProxy<'p>(/* private fields */);
Implementations§
source§impl<'p> HyperlinkProxy<'p>
impl<'p> HyperlinkProxy<'p>
sourcepub async fn new(conn: &Connection) -> Result<HyperlinkProxy<'p>>
pub async fn new(conn: &Connection) -> Result<HyperlinkProxy<'p>>
Creates a new proxy with the default service and path.
sourcepub fn builder(conn: &Connection) -> Builder<'p, Self>
pub fn builder(conn: &Connection) -> Builder<'p, Self>
Returns a customizable builder for this proxy.
sourcepub fn into_inner(self) -> Proxy<'p>
pub fn into_inner(self) -> Proxy<'p>
Consumes self
, returning the underlying zbus::Proxy
.
sourcepub fn inner_mut(&mut self) -> &mut Proxy<'p>
pub fn inner_mut(&mut self) -> &mut Proxy<'p>
The mutable reference to the underlying zbus::Proxy
.
sourcepub async fn get_object(&self, i: i32) -> Result<ObjectRef>
pub async fn get_object(&self, i: i32) -> Result<ObjectRef>
GetObject method
sourcepub fn cached_end_index(
&self
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_end_index( &self ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the EndIndex
property, or None
if the property is not cached.
sourcepub async fn receive_end_index_changed(
&self
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_end_index_changed( &self ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the EndIndex
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_nanchors(
&self
) -> Result<Option<<Result<i16> as ResultAdapter>::Ok>, <Result<i16> as ResultAdapter>::Err>
pub fn cached_nanchors( &self ) -> Result<Option<<Result<i16> as ResultAdapter>::Ok>, <Result<i16> as ResultAdapter>::Err>
Get the cached value of the Nanchors
property, or None
if the property is not cached.
sourcepub async fn receive_nanchors_changed(
&self
) -> PropertyStream<'p, <Result<i16> as ResultAdapter>::Ok>
pub async fn receive_nanchors_changed( &self ) -> PropertyStream<'p, <Result<i16> as ResultAdapter>::Ok>
Create a stream for the Nanchors
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn start_index(&self) -> Result<i32>
pub async fn start_index(&self) -> Result<i32>
StartIndex property
sourcepub fn cached_start_index(
&self
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_start_index( &self ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the StartIndex
property, or None
if the property is not cached.
sourcepub async fn receive_start_index_changed(
&self
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_start_index_changed( &self ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the StartIndex
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for HyperlinkProxy<'p>
impl<'p> AsMut<Proxy<'p>> for HyperlinkProxy<'p>
source§impl<'p> AsRef<Proxy<'p>> for HyperlinkProxy<'p>
impl<'p> AsRef<Proxy<'p>> for HyperlinkProxy<'p>
source§impl<'p> Clone for HyperlinkProxy<'p>
impl<'p> Clone for HyperlinkProxy<'p>
source§fn clone(&self) -> HyperlinkProxy<'p>
fn clone(&self) -> HyperlinkProxy<'p>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more