Struct atspi_proxies::editable_text::EditableTextProxy
source · pub struct EditableTextProxy<'p>(/* private fields */);
Implementations§
source§impl<'p> EditableTextProxy<'p>
impl<'p> EditableTextProxy<'p>
sourcepub async fn new(conn: &Connection) -> Result<EditableTextProxy<'p>>
pub async fn new(conn: &Connection) -> Result<EditableTextProxy<'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 delete_text(&self, start_pos: i32, end_pos: i32) -> Result<bool>
pub async fn delete_text(&self, start_pos: i32, end_pos: i32) -> Result<bool>
DeleteText method
sourcepub async fn insert_text(
&self,
position: i32,
text: &str,
length: i32
) -> Result<bool>
pub async fn insert_text( &self, position: i32, text: &str, length: i32 ) -> Result<bool>
InsertText method
sourcepub async fn paste_text(&self, position: i32) -> Result<bool>
pub async fn paste_text(&self, position: i32) -> Result<bool>
PasteText method
sourcepub async fn set_text_contents(&self, new_contents: &str) -> Result<bool>
pub async fn set_text_contents(&self, new_contents: &str) -> Result<bool>
SetTextContents method
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for EditableTextProxy<'p>
impl<'p> AsMut<Proxy<'p>> for EditableTextProxy<'p>
source§impl<'p> AsRef<Proxy<'p>> for EditableTextProxy<'p>
impl<'p> AsRef<Proxy<'p>> for EditableTextProxy<'p>
source§impl<'p> Clone for EditableTextProxy<'p>
impl<'p> Clone for EditableTextProxy<'p>
source§fn clone(&self) -> EditableTextProxy<'p>
fn clone(&self) -> EditableTextProxy<'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 EditableTextProxy<'p>
impl<'p> Debug for EditableTextProxy<'p>
source§impl<'p> From<Proxy<'p>> for EditableTextProxy<'p>
impl<'p> From<Proxy<'p>> for EditableTextProxy<'p>
source§impl<'a> ProxyDefault for EditableTextProxy<'a>
impl<'a> ProxyDefault for EditableTextProxy<'a>
source§impl<'p> ProxyImpl<'p> for EditableTextProxy<'p>
impl<'p> ProxyImpl<'p> for EditableTextProxy<'p>
source§impl<'p> Serialize for EditableTextProxy<'p>
impl<'p> Serialize for EditableTextProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for EditableTextProxy<'p>
impl<'p> !RefUnwindSafe for EditableTextProxy<'p>
impl<'p> Send for EditableTextProxy<'p>
impl<'p> Sync for EditableTextProxy<'p>
impl<'p> Unpin for EditableTextProxy<'p>
impl<'p> !UnwindSafe for EditableTextProxy<'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