pub struct Text { /* private fields */ }
Expand description
The mtext
element is used to represent arbitrary text that should be rendered as itself. In
general, the mtext
element is intended to denote commentary text.
Implementations§
Trait Implementations§
source§impl IntoElements for Text
impl IntoElements for Text
source§fn into_elements(self) -> Elements
fn into_elements(self) -> Elements
Converts the type into elements.
source§impl Ord for Text
impl Ord for Text
source§impl PartialEq for Text
impl PartialEq for Text
source§impl PartialOrd for Text
impl PartialOrd for Text
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Text
impl StructuralEq for Text
impl StructuralPartialEq for Text
Auto Trait Implementations§
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
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