Struct atspi_proxies::component::ComponentProxy
source · pub struct ComponentProxy<'p>(/* private fields */);
Implementations§
source§impl<'p> ComponentProxy<'p>
impl<'p> ComponentProxy<'p>
sourcepub async fn new(conn: &Connection) -> Result<ComponentProxy<'p>>
pub async fn new(conn: &Connection) -> Result<ComponentProxy<'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 contains(
&self,
x: i32,
y: i32,
coord_type: CoordType
) -> Result<bool>
pub async fn contains( &self, x: i32, y: i32, coord_type: CoordType ) -> Result<bool>
Contains method
sourcepub async fn get_accessible_at_point(
&self,
x: i32,
y: i32,
coord_type: CoordType
) -> Result<ObjectRef>
pub async fn get_accessible_at_point( &self, x: i32, y: i32, coord_type: CoordType ) -> Result<ObjectRef>
GetAccessibleAtPoint method
sourcepub async fn get_extents(
&self,
coord_type: CoordType
) -> Result<(i32, i32, i32, i32)>
pub async fn get_extents( &self, coord_type: CoordType ) -> Result<(i32, i32, i32, i32)>
GetExtents method
sourcepub async fn get_mdizorder(&self) -> Result<i16>
pub async fn get_mdizorder(&self) -> Result<i16>
GetMDIZOrder method
sourcepub async fn get_position(&self, coord_type: CoordType) -> Result<(i32, i32)>
pub async fn get_position(&self, coord_type: CoordType) -> Result<(i32, i32)>
GetPosition method
sourcepub async fn grab_focus(&self) -> Result<bool>
pub async fn grab_focus(&self) -> Result<bool>
GrabFocus method
sourcepub async fn scroll_to(&self, type_: ScrollType) -> Result<bool>
pub async fn scroll_to(&self, type_: ScrollType) -> Result<bool>
ScrollTo method
sourcepub async fn scroll_to_point(
&self,
coord_type: CoordType,
x: i32,
y: i32
) -> Result<bool>
pub async fn scroll_to_point( &self, coord_type: CoordType, x: i32, y: i32 ) -> Result<bool>
ScrollToPoint method
sourcepub async fn set_extents(
&self,
x: i32,
y: i32,
width: i32,
height: i32,
coord_type: CoordType
) -> Result<bool>
pub async fn set_extents( &self, x: i32, y: i32, width: i32, height: i32, coord_type: CoordType ) -> Result<bool>
SetExtents method
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for ComponentProxy<'p>
impl<'p> AsMut<Proxy<'p>> for ComponentProxy<'p>
source§impl<'p> AsRef<Proxy<'p>> for ComponentProxy<'p>
impl<'p> AsRef<Proxy<'p>> for ComponentProxy<'p>
source§impl<'p> Clone for ComponentProxy<'p>
impl<'p> Clone for ComponentProxy<'p>
source§fn clone(&self) -> ComponentProxy<'p>
fn clone(&self) -> ComponentProxy<'p>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'p> Debug for ComponentProxy<'p>
impl<'p> Debug for ComponentProxy<'p>
source§impl<'p> From<Proxy<'p>> for ComponentProxy<'p>
impl<'p> From<Proxy<'p>> for ComponentProxy<'p>
source§impl<'a> ProxyDefault for ComponentProxy<'a>
impl<'a> ProxyDefault for ComponentProxy<'a>
source§impl<'p> ProxyImpl<'p> for ComponentProxy<'p>
impl<'p> ProxyImpl<'p> for ComponentProxy<'p>
source§impl<'p> Serialize for ComponentProxy<'p>
impl<'p> Serialize for ComponentProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for ComponentProxy<'p>
impl<'p> !RefUnwindSafe for ComponentProxy<'p>
impl<'p> Send for ComponentProxy<'p>
impl<'p> Sync for ComponentProxy<'p>
impl<'p> Unpin for ComponentProxy<'p>
impl<'p> !UnwindSafe for ComponentProxy<'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
Mutably borrows from an owned value. Read more
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more