Struct atspi_proxies::image::ImageProxyBlocking
source · pub struct ImageProxyBlocking<'p>(/* private fields */);
Implementations§
source§impl<'p> ImageProxyBlocking<'p>
impl<'p> ImageProxyBlocking<'p>
sourcepub fn new(conn: &Connection) -> Result<ImageProxyBlocking<'p>>
pub fn new(conn: &Connection) -> Result<ImageProxyBlocking<'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_image_extents(
&self,
coord_type: CoordType
) -> Result<(i32, i32, i32, i32)>
pub fn get_image_extents( &self, coord_type: CoordType ) -> Result<(i32, i32, i32, i32)>
GetImageExtents method
sourcepub fn get_image_position(&self, coord_type: CoordType) -> Result<(i32, i32)>
pub fn get_image_position(&self, coord_type: CoordType) -> Result<(i32, i32)>
GetImagePosition method
sourcepub fn get_image_size(&self) -> Result<(i32, i32)>
pub fn get_image_size(&self) -> Result<(i32, i32)>
GetImageSize method
sourcepub fn image_description(&self) -> Result<String>
pub fn image_description(&self) -> Result<String>
ImageDescription property
sourcepub fn cached_image_description(
&self
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_image_description( &self ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the ImageDescription
property, or None
if the property is not cached.
sourcepub fn receive_image_description_changed(
&self
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_image_description_changed( &self ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the ImageDescription
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
sourcepub fn image_locale(&self) -> Result<String>
pub fn image_locale(&self) -> Result<String>
ImageLocale property
sourcepub fn cached_image_locale(
&self
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_image_locale( &self ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the ImageLocale
property, or None
if the property is not cached.
sourcepub fn receive_image_locale_changed(
&self
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_image_locale_changed( &self ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the ImageLocale
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for ImageProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for ImageProxyBlocking<'p>
source§impl<'p> AsRef<Proxy<'p>> for ImageProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for ImageProxyBlocking<'p>
source§impl<'p> Clone for ImageProxyBlocking<'p>
impl<'p> Clone for ImageProxyBlocking<'p>
source§fn clone(&self) -> ImageProxyBlocking<'p>
fn clone(&self) -> ImageProxyBlocking<'p>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more