Struct atspi_proxies::document::DocumentProxyBlocking
source · pub struct DocumentProxyBlocking<'p>(/* private fields */);
Implementations§
source§impl<'p> DocumentProxyBlocking<'p>
impl<'p> DocumentProxyBlocking<'p>
sourcepub fn new(conn: &Connection) -> Result<DocumentProxyBlocking<'p>>
pub fn new(conn: &Connection) -> Result<DocumentProxyBlocking<'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 fn get_text_selections(&self) -> Result<Vec<TextSelection>>
pub fn get_text_selections(&self) -> Result<Vec<TextSelection>>
GetTextSelections method
sourcepub fn set_text_selections(
&self,
selections: Vec<TextSelection>,
) -> Result<bool>
pub fn set_text_selections( &self, selections: Vec<TextSelection>, ) -> Result<bool>
SetTextSelections method
sourcepub fn get_attribute_value(&self, attributename: &str) -> Result<String>
pub fn get_attribute_value(&self, attributename: &str) -> Result<String>
GetAttributeValue method
sourcepub fn get_locale(&self) -> Result<String>
pub fn get_locale(&self) -> Result<String>
GetLocale method
sourcepub fn current_page_number(&self) -> Result<i32>
pub fn current_page_number(&self) -> Result<i32>
CurrentPageNumber property
sourcepub fn cached_current_page_number(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_current_page_number( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the CurrentPageNumber
property, or None
if the property is not cached.
sourcepub fn receive_current_page_number_changed(
&self,
) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
pub fn receive_current_page_number_changed( &self, ) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the CurrentPageNumber
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
sourcepub fn page_count(&self) -> Result<i32>
pub fn page_count(&self) -> Result<i32>
PageCount property
sourcepub fn cached_page_count(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_page_count( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the PageCount
property, or None
if the property is not cached.
sourcepub fn receive_page_count_changed(
&self,
) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
pub fn receive_page_count_changed( &self, ) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the PageCount
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for DocumentProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for DocumentProxyBlocking<'p>
source§impl<'p> AsRef<Proxy<'p>> for DocumentProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for DocumentProxyBlocking<'p>
source§impl<'p> Clone for DocumentProxyBlocking<'p>
impl<'p> Clone for DocumentProxyBlocking<'p>
source§fn clone(&self) -> DocumentProxyBlocking<'p>
fn clone(&self) -> DocumentProxyBlocking<'p>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'p> Debug for DocumentProxyBlocking<'p>
impl<'p> Debug for DocumentProxyBlocking<'p>
source§impl<'p> From<Proxy<'p>> for DocumentProxyBlocking<'p>
impl<'p> From<Proxy<'p>> for DocumentProxyBlocking<'p>
source§impl<'a> ProxyDefault for DocumentProxyBlocking<'a>
impl<'a> ProxyDefault for DocumentProxyBlocking<'a>
source§impl<'p> ProxyImpl<'p> for DocumentProxyBlocking<'p>
impl<'p> ProxyImpl<'p> for DocumentProxyBlocking<'p>
source§impl<'p> Serialize for DocumentProxyBlocking<'p>
impl<'p> Serialize for DocumentProxyBlocking<'p>
Auto Trait Implementations§
impl<'p> Freeze for DocumentProxyBlocking<'p>
impl<'p> !RefUnwindSafe for DocumentProxyBlocking<'p>
impl<'p> Send for DocumentProxyBlocking<'p>
impl<'p> Sync for DocumentProxyBlocking<'p>
impl<'p> Unpin for DocumentProxyBlocking<'p>
impl<'p> !UnwindSafe for DocumentProxyBlocking<'p>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)