pub struct Text<'a> { /* private fields */ }
Expand description
Contains a string and a list of attributes
Implementations§
Trait Implementations§
Source§impl<'a> Append for Text<'a>
impl<'a> Append for Text<'a>
Source§fn append_by_ref(&self, i: &mut IterAppend<'_>)
fn append_by_ref(&self, i: &mut IterAppend<'_>)
Performs the append operation by borrowing self.
Source§fn append(self, ia: &mut IterAppend<'_>)where
Self: Sized,
fn append(self, ia: &mut IterAppend<'_>)where
Self: Sized,
Performs the append operation by consuming self.
Source§impl<'a> RefArg for Text<'a>
impl<'a> RefArg for Text<'a>
Source§fn signature(&self) -> Signature<'static>
fn signature(&self) -> Signature<'static>
The corresponding D-Bus type signature for this type.
Source§fn append(&self, i: &mut IterAppend<'_>)
fn append(&self, i: &mut IterAppend<'_>)
Performs the append operation.
Source§fn as_any(&self) -> &dyn Anywhere
Self: 'static,
fn as_any(&self) -> &dyn Anywhere
Self: 'static,
Transforms this argument to Any (which can be downcasted to read the current value). Read more
Source§fn as_any_mut(&mut self) -> &mut dyn Anywhere
Self: 'static,
fn as_any_mut(&mut self) -> &mut dyn Anywhere
Self: 'static,
Transforms this argument to Any (which can be downcasted to read the current value). Read more
Source§fn box_clone(&self) -> Box<dyn RefArg + 'static>
fn box_clone(&self) -> Box<dyn RefArg + 'static>
Deep clone of the RefArg, causing the result to be ’static. Read more
Source§fn as_iter<'a>(
&'a self,
) -> Option<Box<dyn Iterator<Item = &'a dyn RefArg> + 'a>>
fn as_iter<'a>( &'a self, ) -> Option<Box<dyn Iterator<Item = &'a dyn RefArg> + 'a>>
Try to read the argument as an iterator. Read more
Auto Trait Implementations§
impl<'a> Freeze for Text<'a>
impl<'a> RefUnwindSafe for Text<'a>
impl<'a> Send for Text<'a>
impl<'a> Sync for Text<'a>
impl<'a> Unpin for Text<'a>
impl<'a> UnwindSafe for Text<'a>
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