Struct atspi_proxies::collection::CollectionProxy
source · pub struct CollectionProxy<'p>(/* private fields */);
Implementations§
source§impl<'p> CollectionProxy<'p>
impl<'p> CollectionProxy<'p>
sourcepub async fn new(conn: &Connection) -> Result<CollectionProxy<'p>>
pub async fn new(conn: &Connection) -> Result<CollectionProxy<'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_active_descendant(&self) -> Result<ObjectRef>
pub async fn get_active_descendant(&self) -> Result<ObjectRef>
GetActiveDescendant method
sourcepub async fn get_matches(
&self,
rule: &MatchArgs<'_>,
sortby: SortOrder,
count: i32,
traverse: bool
) -> Result<Vec<ObjectRef>>
pub async fn get_matches( &self, rule: &MatchArgs<'_>, sortby: SortOrder, count: i32, traverse: bool ) -> Result<Vec<ObjectRef>>
GetMatches method
sourcepub async fn get_matches_from(
&self,
current_object: &ObjectPath<'_>,
rule: &MatchArgs<'_>,
sortby: SortOrder,
tree: TreeTraversalType,
count: i32,
traverse: bool
) -> Result<Vec<ObjectRef>>
pub async fn get_matches_from( &self, current_object: &ObjectPath<'_>, rule: &MatchArgs<'_>, sortby: SortOrder, tree: TreeTraversalType, count: i32, traverse: bool ) -> Result<Vec<ObjectRef>>
GetMatchesFrom method
sourcepub async fn get_matches_to(
&self,
current_object: &ObjectPath<'_>,
rule: &MatchArgs<'_>,
sortby: SortOrder,
tree: TreeTraversalType,
limit_scope: bool,
count: i32,
traverse: bool
) -> Result<Vec<ObjectRef>>
pub async fn get_matches_to( &self, current_object: &ObjectPath<'_>, rule: &MatchArgs<'_>, sortby: SortOrder, tree: TreeTraversalType, limit_scope: bool, count: i32, traverse: bool ) -> Result<Vec<ObjectRef>>
GetMatchesTo method
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for CollectionProxy<'p>
impl<'p> AsMut<Proxy<'p>> for CollectionProxy<'p>
source§impl<'p> AsRef<Proxy<'p>> for CollectionProxy<'p>
impl<'p> AsRef<Proxy<'p>> for CollectionProxy<'p>
source§impl<'p> Clone for CollectionProxy<'p>
impl<'p> Clone for CollectionProxy<'p>
source§fn clone(&self) -> CollectionProxy<'p>
fn clone(&self) -> CollectionProxy<'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 CollectionProxy<'p>
impl<'p> Debug for CollectionProxy<'p>
source§impl<'p> From<Proxy<'p>> for CollectionProxy<'p>
impl<'p> From<Proxy<'p>> for CollectionProxy<'p>
source§impl<'a> ProxyDefault for CollectionProxy<'a>
impl<'a> ProxyDefault for CollectionProxy<'a>
source§impl<'p> ProxyImpl<'p> for CollectionProxy<'p>
impl<'p> ProxyImpl<'p> for CollectionProxy<'p>
source§impl<'p> Serialize for CollectionProxy<'p>
impl<'p> Serialize for CollectionProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for CollectionProxy<'p>
impl<'p> !RefUnwindSafe for CollectionProxy<'p>
impl<'p> Send for CollectionProxy<'p>
impl<'p> Sync for CollectionProxy<'p>
impl<'p> Unpin for CollectionProxy<'p>
impl<'p> !UnwindSafe for CollectionProxy<'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